| 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 <style type="text/css"> | 6 <style type="text/css"> |
| 7 body { | 7 body { |
| 8 line-height: 108px; | 8 line-height: 108px; |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 video.src = findMediaFile('video', '../content/test'); | 39 video.src = findMediaFile('video', '../content/test'); |
| 40 | 40 |
| 41 waitForEvent('seeked', testCueHeight); | 41 waitForEvent('seeked', testCueHeight); |
| 42 waitForEvent('canplaythrough', function() { | 42 waitForEvent('canplaythrough', function() { |
| 43 video.currentTime = 1.25; | 43 video.currentTime = 1.25; |
| 44 }); | 44 }); |
| 45 } | 45 } |
| 46 | 46 |
| 47 </script> | 47 </script> |
| 48 | 48 |
| 49 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 50 (Please avoid writing new tests using video-test.js) --> |
| 49 <script src=../video-test.js></script> | 51 <script src=../video-test.js></script> |
| 50 </head> | 52 </head> |
| 51 <body onload="loaded()"> | 53 <body onload="loaded()"> |
| 52 <video controls> | 54 <video controls> |
| 53 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca
ptions" default> | 55 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca
ptions" default> |
| 54 </video> | 56 </video> |
| 55 </body> | 57 </body> |
| 56 </html> | 58 </html> |
| OLD | NEW |