Re: [csswg-drafts] [selectors-4] additional resource state pseudo-classes for media elements (#3821)

@tabatkins, essentially yes. 

As a concrete example, some sites currently try to detect whether changing volume is supported by setting `video.volume` to some arbitrary value, and verifying whether that volume value "sticks". (Effectively, `let v = video.volume; video.volume *= 0.5; return v !== video.volume;`.) That doesn't work if the UA implements step 1 of the [effective media volume](https://html.spec.whatwg.org/multipage/media.html#effective-media-volume) algorithm.  We'd like to give those sites a way of determining this explicitly, without relying upon side effects or heuristics.

-- 
GitHub Notification of comment by jernoble
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3821#issuecomment-487184745 using your GitHub account

Received on Friday, 26 April 2019 20:06:34 UTC