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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 </script> | 68 </script> |
69 </head> | 69 </head> |
70 <body onload="enableAllTextTracks()"> | 70 <body onload="enableAllTextTracks()"> |
71 <p>Tests cue size and alignment from settings.</p> | 71 <p>Tests cue size and alignment from settings.</p> |
72 <video> | 72 <video> |
73 <track src="captions-webvtt/tc020-cue-size-align.vtt" onload="trackL
oaded()"> | 73 <track src="captions-webvtt/tc020-cue-size-align.vtt" onload="trackL
oaded()"> |
74 <track src="captions-webvtt/tc020-cue-size-align-bad.vtt" onload="tr
ackLoaded()"> | 74 <track src="captions-webvtt/tc020-cue-size-align-bad.vtt" onload="tr
ackLoaded()"> |
75 </video> | 75 </video> |
76 </body> | 76 </body> |
77 </html> | 77 </html> |
OLD | NEW |