[csswg-drafts] [selectors-4] clarify when :volume-locked matches (#8061)

foolip has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] clarify when :volume-locked matches ==
https://w3c.github.io/csswg-drafts/selectors-4/#sound-state defines the `:volume-locked` pseudo-class as:

> The :volume-locked pseudo-class represents an element capable of making sound when programmatically changing the element’s volume does not change the element’s [effective media volume](https://html.spec.whatwg.org/multipage/media.html#effective-media-volume).

I wasn't able to parse what this means, and found in https://github.com/web-platform-tests/interop/issues/224#issuecomment-1310537532 that there aren't any tests to give clues either.

The answer can be found in https://github.com/w3c/csswg-drafts/issues/3933#issuecomment-498689912, and it would be great if it was spelled out in the spec that this is about the first step of the definition in HTML:

> If the user has indicated that the user agent is to override the volume of the element, then return the volume desired by the user.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8061 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 11 November 2022 13:42:49 UTC