- From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Date: Tue, 23 Sep 2014 11:42:37 +1000
- To: Nigel Megitt <nigel.megitt@bbc.co.uk>
- Cc: TTWG <public-tt@w3.org>, "public-texttracks@w3.org" <public-texttracks@w3.org>
On Tue, Sep 23, 2014 at 1:04 AM, Nigel Megitt <nigel.megitt@bbc.co.uk> wrote: > >>3.) CSS works by using ::cue and ::cue-region - the first for cues and >>the second for regions. >>These selectors work from a Web page (wherever CSS is specified there) >>and override default styling of WebVTT cues. > > Is there a selector that can be used to distinguish cues within different > WebVTT resources referenced from the same HTML, so that it is possible to > style them differently? ::cue is a CSS pseudo-element, just like ::first-line or ::first-letter . It needs to have a CSS selector in front of it to apply. So, you should be able to apply it to different WebVTT files in different <track> elements. HTH, Silvia.
Received on Tuesday, 23 September 2014 01:43:24 UTC