| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <!-- no reftest-wait --> |
| 3 <title>WebVTT rendering, when media cannot be played (404 error), subtitles are
not displayed</title> | 3 <title>WebVTT rendering, when media cannot be played (404 error), subtitles are
not displayed</title> |
| 4 <link rel="match" href="media_404_omit_subtitles-ref.html"> | 4 <link rel="match" href="media_404_omit_subtitles-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 color: green | 10 color: green |
| 11 } | 11 } |
| 12 </style> | 12 </style> |
| 13 <script src="/common/reftest-wait.js"></script> | 13 <!-- |
| 14 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this
.pause(); takeScreenshot();"> | 14 The subtitles are not expected to render because the "show poster flag" |
| 15 <source src="videonotfound.webm" type="video/webm"> | 15 is set, so when the track loads it will *not* run "time marches on". |
| 16 <source src="videonotfound.mp4" type="video/mp4"> | 16 --> |
| 17 <video width="320" height="180" autoplay> |
| 18 <source src="/common/text-plain.txt?pipe=status(404)"> |
| 17 <track src="support/test.vtt"> | 19 <track src="support/test.vtt"> |
| 18 <script> | 20 <script> |
| 19 document.getElementsByTagName('track')[0].track.mode = 'showing'; | 21 document.getElementsByTagName('track')[0].track.mode = 'showing'; |
| 20 </script> | 22 </script> |
| 21 </video> | 23 </video> |
| 22 </html> | 24 </html> |
| OLD | NEW |