OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Test controls with zooming</title> | 3 <title>Test controls with zooming</title> |
4 <style type="text/css" media="screen"> | 4 <style type="text/css" media="screen"> |
5 video { | 5 video { |
6 margin: 50px; | 6 margin: 50px; |
7 } | 7 } |
8 </style> | 8 </style> |
9 <script src=media-file.js></script> | 9 <script src=media-file.js></script> |
10 <script src=media-controls.js></script> | 10 <script src=media-controls.js></script> |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 eventSender.mouseUp(); | 42 eventSender.mouseUp(); |
43 } | 43 } |
44 }, 50); | 44 }, 50); |
45 } | 45 } |
46 </script> | 46 </script> |
47 </head> | 47 </head> |
48 <body> | 48 <body> |
49 <video controls></video> | 49 <video controls></video> |
50 <p>Test controls on zoomed video.</p> | 50 <p>Test controls on zoomed video.</p> |
51 <p>This test only runs in DRT!</p> | 51 <p>This test only runs in DRT!</p> |
52 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 52 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
53 (Please avoid writing new tests using video-test.js) --> | 53 (Please avoid writing new tests using video-test.js) --> |
54 <script src=video-test.js></script> | 54 <script src=video-test.js></script> |
55 <script> | 55 <script> |
56 testExpected("video.controls", null, '!='); | 56 testExpected("video.controls", null, '!='); |
57 waitForEvent('canplaythrough', function() { | 57 waitForEvent('canplaythrough', function() { |
58 runTest(); | 58 runTest(); |
59 } ); | 59 } ); |
60 video.src = findMediaFile("video", "content/test"); | 60 video.src = findMediaFile("video", "content/test"); |
61 </script> | 61 </script> |
62 </body> | 62 </body> |
63 </html> | 63 </html> |
OLD | NEW |