Re: In-file style sheets for VTT, discussion

On Wed, 11 Mar 2015 12:09:03 +0100, Silvia Pfeiffer  
<silviapfeiffer1@gmail.com> wrote:

>> Wel I tried it on Chrome Version 38.0.2125.111 m
>> The following code does not work
>> in the HTML page:
>>  ::cue(#c11)       {color:yellow;}
>>
>> in the WebVTT file:
>> c11
>> 00:00:51.000 --> 00:00:55.000
>> This cue has a unique id.
>> Using CSS, its font color should be yellow.
>>
>> I also tried it on Safari on my Ipad, does not work either.
>>
>> You can try it with my demo online
>> https://www.w3.org/2015/Talks/0212-WebVTT/#(25)
>
> I think you might be right. Here's another test of this:
> http://www.jwplayer.com/html5/webvtt/ .
> It seems that ::cue works, but not for addressing cues by ID.
> It's possible to do this via classes though.

FWIW, ::cue(#id) works in Presto.

Blink bug https://code.google.com/p/chromium/issues/detail?id=466072
WebKit bug https://bugs.webkit.org/show_bug.cgi?id=79916

-- 
Simon Pieters
Opera Software

Received on Wednesday, 11 March 2015 13:00:03 UTC