| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 | 6 |
| 7 <script src=../media-file.js></script> | 7 <script src=../media-file.js></script> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 var requirePixelDump = true; | 10 var requirePixelDump = true; |
| 11 | 11 |
| 12 function loaded() | 12 function loaded() |
| 13 { | 13 { |
| 14 consoleWrite("Rendering vertical line-positioned cues with Japanese
text."); | 14 consoleWrite("Rendering vertical line-positioned cues with Japanese
text."); |
| 15 findMediaElement(); | 15 findMediaElement(); |
| 16 | 16 |
| 17 testTrack = document.querySelector('track'); | 17 testTrack = document.querySelector('track'); |
| 18 video.src = findMediaFile('video', '../content/test'); | 18 video.src = findMediaFile('video', '../content/test'); |
| 19 | 19 |
| 20 waitForEvent('seeked', endTest); | 20 waitForEvent('seeked', endTest); |
| 21 waitForEvent('canplaythrough', function() { | 21 waitForEvent('canplaythrough', function() { |
| 22 video.currentTime = .75; | 22 video.currentTime = .75; |
| 23 }); | 23 }); |
| 24 } | 24 } |
| 25 | 25 |
| 26 </script> | 26 </script> |
| 27 | 27 |
| 28 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 29 (Please avoid writing new tests using video-test.js) --> |
| 28 <script src=../video-test.js></script> | 30 <script src=../video-test.js></script> |
| 29 </head> | 31 </head> |
| 30 <body onload="loaded()"> | 32 <body onload="loaded()"> |
| 31 <video> | 33 <video> |
| 32 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca
ptions" default> | 34 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca
ptions" default> |
| 33 </video> | 35 </video> |
| 34 </body> | 36 </body> |
| 35 </html> | 37 </html> |
| OLD | NEW |