- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 18 Oct 2010 09:39:40 -0700
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; } ~TJ
Received on Monday, 18 October 2010 09:39:40 UTC