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

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:17 UTC