W3C home > Mailing lists > Public > public-tt@w3.org > March 2015

Re: In-file style sheets for VTT, discussion

From: Simon Pieters <simonp@opera.com>
Date: Wed, 11 Mar 2015 13:59:30 +0100
To: "Thierry MICHEL" <tmichel@w3.org>, "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>
Cc: "Public TTWG List" <public-tt@w3.org>, "public-texttracks@w3.org" <public-texttracks@w3.org>, "David Singer" <singer@apple.com>
Message-ID: <op.xvb3pgp1idj3kv@simons-mbp>
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

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