Bug 79916 - Basic CSS styling of text track cues
Summary: Basic CSS styling of text track cues
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://wpt.live/webvtt/rendering/cues...
Keywords: WPTImpact
Depends on:
Blocks: 79347
  Show dependency treegraph
 
Reported: 2012-02-29 08:17 PST by Victor Carbune
Modified: 2023-10-14 09:27 PDT (History)
3 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 (:zcorpan) 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
Comment 2 Ahmad Saleem 2023-10-14 09:27:17 PDT
All browsers are failing this 'WPT Test':

https://wpt.fyi/results/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/id_color.html?label=experimental&label=master&aligned=

Adding 'WPTImpact' tag and also changing from 'Unconfirmed' to 'New' to track it better.