Skip to content

Commit b24891f

Browse files
authored
Move ::cue pseudo into main WebVTT feature (#2953)
There is no strong connection to the cue settings (which are mainly about cue positining), this pseudo is for styling the "inside" of a cue. It wasn't supported since the very beginning of WebVTT in all browsers, but goes very far back and can be considered part of WebVTT.
1 parent 0879b56 commit b24891f

File tree

4 files changed

+24
-44
lines changed

4 files changed

+24
-44
lines changed

features/webvtt-cue-settings.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
name: WebVTT cue settings
22
description: The `VTTCue` API updates various aspects of cues dynamically, such as alignment, size and position.
33
spec: https://w3c.github.io/webvtt/#the-vttcue-interface
4-
status:
5-
compute_from:
6-
- api.VTTCue.align
7-
- api.VTTCue.line
8-
- api.VTTCue.position
9-
- api.VTTCue.size
10-
- api.VTTCue.snapToLines
11-
- api.VTTCue.vertical
124
compat_features:
135
- api.VTTCue.align
146
- api.VTTCue.line
157
- api.VTTCue.position
168
- api.VTTCue.size
179
- api.VTTCue.snapToLines
1810
- api.VTTCue.vertical
19-
- css.selectors.cue
20-
- css.selectors.cue.selector_argument

features/webvtt-cue-settings.yml.dist

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -14,43 +14,9 @@ status:
1414
safari: "6"
1515
safari_ios: "8"
1616
compat_features:
17-
# ⬇️ Same status as overall feature ⬇️
18-
# baseline: high
19-
# baseline_low_date: 2020-01-15
20-
# baseline_high_date: 2022-07-15
21-
# support:
22-
# chrome: "23"
23-
# chrome_android: "25"
24-
# edge: "79"
25-
# firefox: "31"
26-
# firefox_android: "31"
27-
# safari: "6"
28-
# safari_ios: "8"
2917
- api.VTTCue.align
3018
- api.VTTCue.line
3119
- api.VTTCue.position
3220
- api.VTTCue.size
3321
- api.VTTCue.snapToLines
3422
- api.VTTCue.vertical
35-
36-
# baseline: high
37-
# baseline_low_date: 2020-01-15
38-
# baseline_high_date: 2022-07-15
39-
# support:
40-
# chrome: "26"
41-
# chrome_android: "26"
42-
# edge: "79"
43-
# firefox: "55"
44-
# firefox_android: "55"
45-
# safari: "7"
46-
# safari_ios: "7"
47-
- css.selectors.cue
48-
49-
# baseline: false
50-
# support:
51-
# chrome: "26"
52-
# chrome_android: "26"
53-
# edge: "79"
54-
# safari: "7"
55-
# safari_ios: "7"
56-
- css.selectors.cue.selector_argument

features/webvtt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ compat_features:
1515
- api.VTTCue.text
1616
- api.VTTCue.text.all_html_character_references
1717
- api.VTTCue.VTTCue
18+
- css.selectors.cue
19+
- css.selectors.cue.selector_argument

features/webvtt.yml.dist

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ compat_features:
3030
- api.VTTCue.getCueAsHTML
3131
- api.VTTCue.text
3232

33+
# baseline: high
34+
# baseline_low_date: 2020-01-15
35+
# baseline_high_date: 2022-07-15
36+
# support:
37+
# chrome: "26"
38+
# chrome_android: "26"
39+
# edge: "79"
40+
# firefox: "55"
41+
# firefox_android: "55"
42+
# safari: "7"
43+
# safari_ios: "7"
44+
- css.selectors.cue
45+
3346
# baseline: high
3447
# baseline_low_date: 2020-01-15
3548
# baseline_high_date: 2022-07-15
@@ -54,3 +67,12 @@ compat_features:
5467
# safari: "17.5"
5568
# safari_ios: "17.5"
5669
- api.VTTCue.text.all_html_character_references
70+
71+
# baseline: false
72+
# support:
73+
# chrome: "26"
74+
# chrome_android: "26"
75+
# edge: "79"
76+
# safari: "7"
77+
# safari_ios: "7"
78+
- css.selectors.cue.selector_argument

0 commit comments

Comments
 (0)