| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <style> | 3 <style> |
| 4 #no-video-media { | 4 #no-video-media { |
| 5 width: 320px; | 5 width: 320px; |
| 6 height: 240px; | 6 height: 240px; |
| 7 } | 7 } |
| 8 </style> | 8 </style> |
| 9 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 9 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
| 10 (Please avoid writing new tests using video-test.js) --> | 10 (Please avoid writing new tests using video-test.js) --> |
| 11 <script src=video-test.js></script> | 11 <script src=video-test.js></script> |
| 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 <script> | 14 <script> |
| 15 | 15 |
| 16 var controls; | 16 var controls; |
| 17 | 17 |
| 18 function dispatchActivateEvent(target) { | 18 function dispatchActivateEvent(target) { |
| 19 // Create a DOMActivate event and dispatch it | 19 // Create a DOMActivate event and dispatch it |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 <body> | 54 <body> |
| 55 <p>Test video control element visibility when play by touch.</p> | 55 <p>Test video control element visibility when play by touch.</p> |
| 56 <p>This test only runs in DRT!</p> | 56 <p>This test only runs in DRT!</p> |
| 57 | 57 |
| 58 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide
o> | 58 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide
o> |
| 59 <script> | 59 <script> |
| 60 setSrcById("no-video-media", findMediaFile("video", "content/test")); | 60 setSrcById("no-video-media", findMediaFile("video", "content/test")); |
| 61 </script> | 61 </script> |
| 62 </body> | 62 </body> |
| 63 </html> | 63 </html> |
| OLD | NEW |