Bug 79916 - Basic CSS styling of text track cues
Summary: Basic CSS styling of text track cues
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 79347
  Show dependency treegraph
 
Reported: 2012-02-29 08:17 PST by Victor Carbune
Modified: 2015-03-11 05:58 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Carbune 2012-02-29 08:17:51 PST
This bug is here to ensure that all the aspects in the WebVTT spec related to basic CSS styling (section 3.5.1) of the text track cues are completely supported.
http://dev.w3.org/html5/webvtt/#applying-css-properties-to-webvtt-node-objects
Comment 1 Simon Pieters 2015-03-11 05:58:22 PDT
The ::cue(#id) selector should match a WebVTT cue with the given id. It's seems it's not supported in WebKit. Presto supports it.

Test:
http://w3c-test.org/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/id_color.html
http://w3c-test.org/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/id_color-ref.html

Spec:
"For the purposes of ID selector matching, lists of WebVTT Node Objects have the ID given by the cue's text track cue identifier, if any."
http://dev.w3.org/html5/webvtt/#dfn-pseudo-cue-selector