OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html class="reftest-wait"> |
3 <title>WebVTT rendering, ::cue(|*) should match the root</title> | 3 <title>WebVTT rendering, ::cue(|*) should match the root</title> |
4 <link rel="match" href="root_namespace-ref.html"> | 4 <link rel="match" href="root_namespace-ref.html"> |
5 <style> | 5 <style> |
6 html { overflow:hidden } | 6 html { overflow:hidden } |
7 body { margin:0 } | 7 body { margin:0 } |
8 ::cue { | 8 ::cue { |
9 font-family: Ahem, sans-serif | 9 font-family: Ahem, sans-serif |
10 } | 10 } |
11 ::cue(*|*) { | 11 ::cue(*|*) { |
12 color: red | 12 color: red |
13 } | 13 } |
14 ::cue(|*) { | 14 ::cue(|*) { |
15 color: green | 15 color: green |
16 } | 16 } |
17 </style> | 17 </style> |
18 <script src="/common/reftest-wait.js"></script> | 18 <script src="/common/reftest-wait.js"></script> |
19 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this
.pause(); takeScreenshot();"> | 19 <video width="320" height="180" autoplay onplaying="this.onplaying = null; this.
pause(); takeScreenshot();"> |
20 <source src="/media/white.webm" type="video/webm"> | 20 <source src="/media/white.webm" type="video/webm"> |
21 <source src="/media/white.mp4" type="video/mp4"> | 21 <source src="/media/white.mp4" type="video/mp4"> |
22 <track src="../../support/test.vtt"> | 22 <track src="../../support/test.vtt"> |
23 <script> | 23 <script> |
24 document.getElementsByTagName('track')[0].track.mode = 'showing'; | 24 document.getElementsByTagName('track')[0].track.mode = 'showing'; |
25 </script> | 25 </script> |
26 </video> | 26 </video> |
27 </html> | 27 </html> |
OLD | NEW |