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

Side by Side Diff: LayoutTests/media/track/track-webvtt-tc018-align-text-line-position.html

Issue 850363005: VTTCue: Support 'auto' for line (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 { 61 {
62 property : "align", 62 property : "align",
63 values : ["middle", "end", "middle"], 63 values : ["middle", "end", "middle"],
64 }, 64 },
65 { 65 {
66 property : "position", 66 property : "position",
67 values : [50, 0, 60], 67 values : [50, 0, 60],
68 }, 68 },
69 { 69 {
70 property : "line", 70 property : "line",
71 values : [-1, -1, -3], 71 values : ["auto", "auto", -3],
72 }, 72 },
73 { 73 {
74 property : "snapToLines", 74 property : "snapToLines",
75 values : [true, true, true], 75 values : [true, true, true],
76 }, 76 },
77 ], 77 ],
78 }; 78 };
79 testCues(i, expected); 79 testCues(i, expected);
80 80
81 allTestsEnded(); 81 allTestsEnded();
82 } 82 }
83 </script> 83 </script>
84 </head> 84 </head>
85 <body onload="enableAllTextTracks()"> 85 <body onload="enableAllTextTracks()">
86 <p>Tests cue alignment, line and text position from settings.</p> 86 <p>Tests cue alignment, line and text position from settings.</p>
87 <video> 87 <video>
88 <track src="captions-webvtt/tc018-align-text-line-position.vtt" onlo ad="trackLoaded()"> 88 <track src="captions-webvtt/tc018-align-text-line-position.vtt" onlo ad="trackLoaded()">
89 <track src="captions-webvtt/tc018-align-text-line-position-bad.vtt" onload="trackLoaded()"> 89 <track src="captions-webvtt/tc018-align-text-line-position-bad.vtt" onload="trackLoaded()">
90 </video> 90 </video>
91 </body> 91 </body>
92 </html> 92 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698