5 var runPixelTests = true;
8 // Bail out early if the full screen API is not enabled or is missing:
9 if (Element.prototype.webkitRequestFullScreen == undefined) {
10 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
13 waitForEventAndEnd(document, 'webkitfullscreenchange');
14 runWithKeyDown(goFullScreen);
18 function goFullScreen() {
19 video.webkitRequestFullScreen();
22 <script src="../../fullscreen/full-screen-test.js"></script>
25 -webkit-flow-into: content-flow;
29 -webkit-flow-from: content-flow;
30 border: 1px solid red;
37 <body onload="init()">
38 <div>This tests the full screen video playing from a region flow.
39 After entering full screen mode, only the full screen video should be visible.
40 Click <button onclick="goFullScreen()">go full screen</button> to run the test.</div>
41 <video class="content" height="270" width="480" id="video" controls autoplay loop></video>
42 <div class="region"></div>