Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/evil/media_404_omit_subtitles.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698