This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dev.w3.org/html5/webvtt/#the-cue-pseudo-element In WebVTT you can use ::cue(#foo) to select a cue with id foo, but you can't use ::cue([id=foo]) since the spec doesn't say to expose any attributes on the "list of WebVTT nodes" object for the purpose of matching Selectors. Similarly, you can use ::cue(.foo) to select an element within a cue with the class "foo" but you can't use ::cue([class~=foo]). This is limiting for authors (can't use = ~= ^= $=, the i flag, etc). Making the attribute selectors *not* match seems like it complicates implementations. [1] (Note that we already support ::cue(lang[lang=foo]) in addition to ::cue(lang:lang(foo)).) [1] https://code.google.com/p/chromium/issues/detail?id=466072