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

Side by Side Diff: LayoutTests/media/track/track-cue-rendering-horizontal.html

Issue 949203002: Separate the text track container from the media controls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address nits Created 5 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/media/track/track-cue-rendering-vertical.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 5
6 <script src=../media-file.js></script> 6 <script src=../media-file.js></script>
7 <script src=../media-controls.js></script>
8 7
9 <script> 8 <script>
10 var requirePixelDump = true; 9 var requirePixelDump = true;
11 10
12 function loaded() 11 function loaded()
13 { 12 {
14 consoleWrite("Rendering horizontal line-positioned cues."); 13 consoleWrite("Rendering horizontal line-positioned cues.");
15 findMediaElement(); 14 findMediaElement();
16 15
17 testTrack = document.querySelector('track'); 16 testTrack = document.querySelector('track');
18 video.src = findMediaFile('video', '../content/test'); 17 video.src = findMediaFile('video', '../content/test');
19 18
20 waitForEvent('seeked', endTest); 19 waitForEvent('seeked', endTest);
21 waitForEvent('canplaythrough', function() { 20 waitForEvent('canplaythrough', function() {
22 video.currentTime = .25; 21 video.currentTime = .25;
23 }); 22 });
24 } 23 }
25 24
26 </script> 25 </script>
27 26
28 <script src=../video-test.js></script> 27 <script src=../video-test.js></script>
29 </head> 28 </head>
30 <body onload="loaded()"> 29 <body onload="loaded()">
31 <video controls> 30 <video>
32 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca ptions" default> 31 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca ptions" default>
33 </video> 32 </video>
34 </body> 33 </body>
35 </html> 34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/media/track/track-cue-rendering-vertical.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698