| 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 video::-webkit-media-text-track-display { | 7 video::-webkit-media-text-track-display { |
| 8 padding: 15px; | 8 padding: 15px; |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| 11 | 11 |
| 12 <script src=../media-file.js></script> | 12 <script src=../media-file.js></script> |
| 13 <script src=../media-controls.js></script> | 13 <script src=../media-controls.js></script> |
| 14 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 15 (Please avoid writing new tests using video-test.js) --> |
| 14 <script src=../video-test.js></script> | 16 <script src=../video-test.js></script> |
| 15 | 17 |
| 16 <script> | 18 <script> |
| 17 var cueContainerBottomPoint; | 19 var cueContainerBottomPoint; |
| 18 var cueDisplayBottomPoint; | 20 var cueDisplayBottomPoint; |
| 19 | 21 |
| 20 function startTest() | 22 function startTest() |
| 21 { | 23 { |
| 22 if (!window.internals) { | 24 if (!window.internals) { |
| 23 consoleWrite("<br><b>** This test only works in DRT! **<" + "/b>
"); | 25 consoleWrite("<br><b>** This test only works in DRT! **<" + "/b>
"); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 50 } | 52 } |
| 51 | 53 |
| 52 </script> | 54 </script> |
| 53 </head> | 55 </head> |
| 54 <body onload="loaded()"> | 56 <body onload="loaded()"> |
| 55 <video controls> | 57 <video controls> |
| 56 <track src="captions-webvtt/captions-fast.vtt" kind="captions" defau
lt> | 58 <track src="captions-webvtt/captions-fast.vtt" kind="captions" defau
lt> |
| 57 </video> | 59 </video> |
| 58 </body> | 60 </body> |
| 59 </html> | 61 </html> |
| OLD | NEW |