This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
It would be good to have CSS examples showing how to use the different selectors, how to use karaoke, etc. /* use the same font family as in the surrounding page */ video::cue { font-family:inherit } /* cue id */ video::cue(#intro) { font-size:10vh } /* inline class */ video::cue(.code) { white-space:pre-wrap; font-family:monospace } /* voice */ video::cue(v[voice="Jim"]) { color:yellow } /* karaoke */ video::cue(c) { transition:linear 0.5s color } video::cue(c:past) { color:lime }
An example that demonstrates CSS escaped characters would be helpful, too. E.g. /* this is the cue */ 52 my cue identifier 00:00:52.000 --> 00:00:01:05.000 My cue text /* how to reference it in CSS */ ::cue(#\35 2\ my\ cue\ identifier)