2 <p>This tests that the video element's timeline controls are draggable in full screen. Press any key to continue.
</p>
3 <video id=
"video" width=
"300" controls
></video>
6 runPixelTests
= internals
.runtimeFlags
.forceOverlayFullscreenVideoEnabled
;
8 <script src=
"full-screen-test.js"></script>
9 <script src=
"../media/media-controls.js"></script>
10 <script src=
"../media/media-file.js"></script>
12 var video
= document
.getElementById('video');
15 waitForEvent(document
, 'webkitfullscreenchange', function() {
16 if (window
.internals
) {
17 timeline
= mediaControlsElement(internals
.shadowRoot(video
).firstChild
, '-webkit-media-controls-timeline');
18 var box
= internals
.boundingBox(timeline
);
20 eventSender
.mouseMoveTo(box
.left
+ 5, box
.top
+ 5);
22 waitForEvent(timeline
, 'mousedown');
23 eventSender
.mouseDown();
25 waitForEventAndEnd(timeline
, 'mouseup');
26 eventSender
.mouseUp();
29 logResult(false, "window.internals == undefined");
32 waitForEvent(video
, 'canplaythrough', function() {
33 runWithKeyDown(function(){video
.webkitRequestFullScreen()});
36 video
.src
= findMediaFile('video', '../media/content/test');