Bug 79916

Summary: Basic CSS styling of text track cues
Product: WebKit Reporter: Victor Carbune <vcarbune>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, eric.carlson, zcorpan
Priority: P2 Keywords: WPTImpact
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://wpt.live/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/id_color.html
Bug Depends on:    
Bug Blocks: 79347    

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.