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

Side by Side Diff: LayoutTests/media/track/track-webvtt-tc017-line-position.html

Issue 850363005: VTTCue: Support 'auto' for line (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Windows compilation. Created 5 years, 11 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
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=../video-test.js></script> 7 <script src=../video-test.js></script>
8 <script> 8 <script>
9 9
10 var numberOfTrackTests = 2; 10 var numberOfTrackTests = 2;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 function testTrackError(i) 44 function testTrackError(i)
45 { 45 {
46 findMediaElement(); 46 findMediaElement();
47 var expected = 47 var expected =
48 { 48 {
49 length : 6, 49 length : 6,
50 tests: 50 tests:
51 [ 51 [
52 { 52 {
53 property : "line", 53 property : "line",
54 values : [-1, -1, -1, -1, -1, -1, -1], 54 values : ["auto", "auto", "auto", "auto", "auto", "a uto", "auto"],
55 }, 55 },
56 { 56 {
57 property : "snapToLines", 57 property : "snapToLines",
58 values : [true, true, true, true, true, true, true], 58 values : [true, true, true, true, true, true, true],
59 }, 59 },
60 ], 60 ],
61 }; 61 };
62 testCues(i, expected); 62 testCues(i, expected);
63 63
64 allTestsEnded(); 64 allTestsEnded();
65 } 65 }
66 </script> 66 </script>
67 </head> 67 </head>
68 <body onload="enableAllTextTracks()"> 68 <body onload="enableAllTextTracks()">
69 <p>Tests cue line position from settings.</p> 69 <p>Tests cue line position from settings.</p>
70 <video> 70 <video>
71 <track src="captions-webvtt/tc017-line-position.vtt" onload="trackLo aded()"> 71 <track src="captions-webvtt/tc017-line-position.vtt" onload="trackLo aded()">
72 <track src="captions-webvtt/tc017-line-position-bad.vtt" onload="tra ckLoaded()"> 72 <track src="captions-webvtt/tc017-line-position-bad.vtt" onload="tra ckLoaded()">
73 </video> 73 </video>
74 </body> 74 </body>
75 </html> 75 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698