W3C home > Mailing lists > Public > public-tt@w3.org > September 2014

Re: {minutes} Geneva F2F day 1 16/09/2014

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Tue, 23 Sep 2014 11:42:37 +1000
Message-ID: <CAHp8n2nQPDqb8w9EFDzsA4SurXEwTg5VBHSTGYfie6o-buNAfg@mail.gmail.com>
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.

Received on Tuesday, 23 September 2014 01:43:24 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:24:18 UTC