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-controls.js></script> | 6 <script src=../../media-controls.js></script> |
7 <script src=../../media-file.js></script> | 7 <script src=../../media-file.js></script> |
| 8 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 9 (Please avoid writing new tests using video-test.js) --> |
8 <script src=../../video-test.js></script> | 10 <script src=../../video-test.js></script> |
9 <script> | 11 <script> |
10 var testTrack; | 12 var testTrack; |
11 var region; | 13 var region; |
12 var container; | 14 var container; |
13 | 15 |
14 function testRegionsDisplay() | 16 function testRegionsDisplay() |
15 { | 17 { |
16 testTrack = video.textTracks[0]; | 18 testTrack = video.textTracks[0]; |
17 | 19 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 57 |
56 </script> | 58 </script> |
57 </head> | 59 </head> |
58 <body> | 60 <body> |
59 <p>Tests default DOM layout structure for a VTTRegion.</p> | 61 <p>Tests default DOM layout structure for a VTTRegion.</p> |
60 <video controls> | 62 <video controls> |
61 <track src="../captions-webvtt/captions-regions.vtt" kind="captions"
default onload="startTest()"> | 63 <track src="../captions-webvtt/captions-regions.vtt" kind="captions"
default onload="startTest()"> |
62 </video> | 64 </video> |
63 </body> | 65 </body> |
64 </html> | 66 </html> |
OLD | NEW |