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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/enable_controls_reposition.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 class="reftest-wait"> 2 <html class="reftest-wait">
3 <title>WebVTT rendering, cue reposition after enabling controls</title> 3 <title>WebVTT rendering, cue reposition after enabling controls</title>
4 <link rel="match" href="enable_controls_reposition-ref.html"> 4 <link rel="match" href="enable_controls_reposition-ref.html">
5 <style> 5 <style>
6 video { 6 video {
7 outline: solid; 7 outline: solid;
8 width: 320px; 8 width: 320px;
9 height: 240px; 9 height: 240px;
10 } 10 }
11 ::cue { 11 ::cue {
12 font-family: Ahem, sans-serif; 12 font-family: Ahem, sans-serif;
13 font-size: 50px; 13 font-size: 50px;
14 color: green; 14 color: green;
15 } 15 }
16 </style> 16 </style>
17 <script src="/common/reftest-wait.js"></script> 17 <script src="/common/reftest-wait.js"></script>
18 <video autoplay onplaying="this.onplaying = null; 18 <video autoplay onplaying="this.onplaying = null;
19 this.pause(); 19 this.pause();
20 this.currentTime = 0; 20 this.currentTime = 0;
21 setTimeout(function(video){ 21 setTimeout(function(video){
22 video.controls = true; 22 video.controls = true;
23 }, 100, this); 23 }, 100, this);
24 setTimeout(takeScreenshot, 200);"> 24 takeScreenshotDelayed(1000);">
25 <source src="/media/white.webm" type="video/webm"> 25 <source src="/media/white.webm" type="video/webm">
26 <source src="/media/white.mp4" type="video/mp4"> 26 <source src="/media/white.mp4" type="video/mp4">
27 <track src=support/foo.vtt> 27 <track src=support/foo.vtt>
28 <script>
29 document.getElementsByTagName('track')[0].track.mode = 'showing';
30 </script>
28 </video> 31 </video>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698