- From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Date: Mon, 25 Oct 2010 14:34:52 +1100
On Tue, Oct 19, 2010 at 3:39 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote: > On Sat, Oct 16, 2010 at 4:18 PM, Silvia Pfeiffer > <silviapfeiffer1 at gmail.com> wrote: >> I would expect a style of rendering where all words are first >> displayed in ordinary display and e.g. painted in a different color as >> the time reaches them. Something like: >> >> ::cue { >> ?color: black; >> } >> >> // this is in-valid as per spec right now >> ::cue timestamp { >> ?color: red; >> } >> >> But FAIK we don't currently have a means to address the >> timestamp-activated parts within a cue through CSS. How should that be >> done? > > http://www.whatwg.org/specs/web-apps/current-work/complete/rendering.html#the-'::cue-part'-pseudo-element > > ::cue { > ?color: black; > } > > ::cue-part(past) { > ?color: red; > } Thanks, I had totally forgotten about this - I think it indeed does the trick. Silvia.
Received on Sunday, 24 October 2010 20:34:52 UTC