blob: f4fbf424fc390f176139791fd05b2f822c58418e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
stylesheets, rules
<link rel="help" href="https://w3c.github.io/webvtt/#collect-a-webvtt-block">
// There's no way to test the actual style from js
assert_equals(document.styleSheets.length, 0);
===
WEBVTT
STYLE
::cue(#foo) {
width: 20px;
} /*
NOTE hello
00:00:00.000 -- > 00:00:01.000
*/
.foo {
width: 19px;
}
.bar {
width: 18px;
}
foo
00:00:00.000 --> 00:00:01.000
text
STYLE
::cue(::bar) {
width: 18px;
}
bar
00:00:00.000 --> 00:00:01.000
text
|