OLD | NEW |
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 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 7 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
8 (Please avoid writing new tests using video-test.js) --> | 8 (Please avoid writing new tests using video-test.js) --> |
9 <script src=../video-test.js></script> | 9 <script src=../video-test.js></script> |
10 <script> | 10 <script> |
11 | 11 |
12 var numberOfTrackTests = 2; | 12 var numberOfTrackTests = 2; |
13 | 13 |
14 function trackLoaded() | 14 function trackLoaded() |
15 { | 15 { |
16 numberOfTracksLoaded++; | 16 numberOfTracksLoaded++; |
17 if (numberOfTracksLoaded == numberOfTrackTests) { | 17 if (numberOfTracksLoaded == numberOfTrackTests) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 </script> | 85 </script> |
86 </head> | 86 </head> |
87 <body onload="enableAllTextTracks()"> | 87 <body onload="enableAllTextTracks()"> |
88 <p>Tests cue alignment, line and text position from settings.</p> | 88 <p>Tests cue alignment, line and text position from settings.</p> |
89 <video> | 89 <video> |
90 <track src="captions-webvtt/tc018-align-text-line-position.vtt" onlo
ad="trackLoaded()"> | 90 <track src="captions-webvtt/tc018-align-text-line-position.vtt" onlo
ad="trackLoaded()"> |
91 <track src="captions-webvtt/tc018-align-text-line-position-bad.vtt"
onload="trackLoaded()"> | 91 <track src="captions-webvtt/tc018-align-text-line-position-bad.vtt"
onload="trackLoaded()"> |
92 </video> | 92 </video> |
93 </body> | 93 </body> |
94 </html> | 94 </html> |
OLD | NEW |