27 <script src="full-screen-test.js"></script>
30 window.internals.settings.setFixedPositionCreatesStackingContext(true);
33 if (window.testRunner) {
34 testRunner.dumpAsText(true);
35 testRunner.waitUntilDone();
37 document.body.offsetTop;
38 var fullscreen = document.getElementById('fullscreenme');
40 var fullscreenChangeEvent = function(event) {
41 if (window.testRunner)
42 testRunner.notifyDone();
45 document.addEventListener('webkitfullscreenchange', fullscreenChangeEvent);
46 document.addEventListener('keydown', function () {
47 fullscreen.webkitRequestFullScreen();
50 if (window.eventSender)
51 eventSender.keyDown('a');
53 if ("webkitRequestFullScreen" in Element.prototype)
54 window.addEventListener("load", doTest, false);
57 <!-- when full screening the iframe, bad should not be visible -->
58 <div id="fixed-container">
59 <iframe id="fullscreenme" src="resources/green.html"></iframe>