| Index: LayoutTests/fullscreen/video-controls-drag.html
|
| diff --git a/LayoutTests/fullscreen/video-controls-drag.html b/LayoutTests/fullscreen/video-controls-drag.html
|
| deleted file mode 100644
|
| index b30f724d5996e44d54f6de39d6768bbf5acd0ea6..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fullscreen/video-controls-drag.html
|
| +++ /dev/null
|
| @@ -1,59 +0,0 @@
|
| -<body>
|
| - <p>This tests that the video element's controls are draggable in full screen. Press any key to continue.</p>
|
| - <video id="video" width="300"></video>
|
| - <script>
|
| - if (window.internals)
|
| - runPixelTests = internals.runtimeFlags.overlayFullscreenVideoEnabled;
|
| - </script>
|
| - <script src="full-screen-test.js"></script>
|
| - <script src="../media/media-controls.js"></script>
|
| - <script>
|
| - var video = document.getElementById('video');
|
| - var shadowRoot;
|
| - var panel;
|
| - var startBox;
|
| - var endBox;
|
| -
|
| - var fullscreenChanged = function(event)
|
| - {
|
| - if (callback)
|
| - callback(event)
|
| - };
|
| - waitForEvent(document, 'webkitfullscreenchange', function() {
|
| - if (window.internals) {
|
| - panel = mediaControlsElement(internals.shadowRoot(video).firstChild, '-webkit-media-controls-panel');
|
| - startBox = internals.boundingBox(panel);
|
| -
|
| - consoleWrite("First drag.");
|
| -
|
| - eventSender.mouseMoveTo(startBox.left + 5, startBox.top + 5);
|
| - eventSender.mouseDown();
|
| -
|
| - eventSender.mouseMoveTo(startBox.left + 20, startBox.top + 20);
|
| - eventSender.mouseUp();
|
| -
|
| - endBox = internals.boundingBox(panel);
|
| -
|
| - testExpected("endBox.left - startBox.left", 15);
|
| - testExpected("endBox.top - startBox.top", 15);
|
| -
|
| - consoleWrite("Second drag.");
|
| -
|
| - eventSender.mouseDown();
|
| - eventSender.mouseMoveTo(startBox.left + 10, startBox.top + 10);
|
| - eventSender.mouseUp();
|
| -
|
| - endBox = internals.boundingBox(panel);
|
| -
|
| - testExpected("endBox.left - startBox.left", 5);
|
| - testExpected("endBox.top - startBox.top", 5);
|
| -
|
| - endTest();
|
| - }
|
| - else
|
| - logResult(false, "window.internals == undefined");
|
| - });
|
| -
|
| - runWithKeyDown(function(){video.webkitRequestFullScreen()});
|
| - </script>
|
| -</body>
|
|
|