OLD | NEW |
1 <body> | 1 <body> |
2 <p>This tests that the video element's controls are draggable in full screen
. Press any key to continue.</p> | 2 <p>This tests that the video element's controls are draggable in full screen
. Press any key to continue.</p> |
3 <video id="video" width="300"></video> | 3 <video id="video" width="300"></video> |
| 4 <script> |
| 5 if (window.internals) |
| 6 runPixelTests = internals.runtimeFlags.overlayFullscreenVideoEnabled
; |
| 7 </script> |
4 <script src="full-screen-test.js"></script> | 8 <script src="full-screen-test.js"></script> |
5 <script src="../media/media-controls.js"></script> | 9 <script src="../media/media-controls.js"></script> |
6 <script> | 10 <script> |
7 var video = document.getElementById('video'); | 11 var video = document.getElementById('video'); |
8 var shadowRoot; | 12 var shadowRoot; |
9 var panel; | 13 var panel; |
10 var startBox; | 14 var startBox; |
11 var endBox; | 15 var endBox; |
12 | 16 |
13 var fullscreenChanged = function(event) | 17 var fullscreenChanged = function(event) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 50 |
47 endTest(); | 51 endTest(); |
48 } | 52 } |
49 else | 53 else |
50 logResult(false, "window.internals == undefined"); | 54 logResult(false, "window.internals == undefined"); |
51 }); | 55 }); |
52 | 56 |
53 runWithKeyDown(function(){video.webkitRequestFullScreen()}); | 57 runWithKeyDown(function(){video.webkitRequestFullScreen()}); |
54 </script> | 58 </script> |
55 </body> | 59 </body> |
OLD | NEW |