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

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

From: Fredrik Söderquist <fs@opera.com>
Date: Tue, 23 Sep 2014 09:53:45 +0200
To: "Nigel Megitt" <nigel.megitt@bbc.co.uk>, "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>
Cc: TTWG <public-tt@w3.org>, "public-texttracks@w3.org" <public-texttracks@w3.org>
Message-ID: <op.xmmqvvpke91930@fsmach2.linkoping.osa>
On Tue, 23 Sep 2014 03:42:37 +0200, Silvia Pfeiffer  
<silviapfeiffer1@gmail.com> wrote:

> 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.

::cue will however only have an effect if the selector matches <video>  
(according to note in [1]).


/fs

[1] http://dev.w3.org/html5/webvtt/#css-extensions

-- 
Using Opera's mail client: http://www.opera.com/mail/
Received on Tuesday, 23 September 2014 07:54:16 UTC

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