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