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