27 <script src=
"full-screen-test.js"></script>
30 if (window
.testRunner
) {
31 testRunner
.dumpAsTextWithPixelResults();
32 testRunner
.waitUntilDone();
34 document
.body
.offsetTop
;
35 var fullscreen
= document
.getElementById('fullscreenme');
37 var fullscreenChangeEvent = function(event
) {
38 if (window
.testRunner
)
39 testRunner
.notifyDone();
42 document
.addEventListener('webkitfullscreenchange', fullscreenChangeEvent
);
43 document
.addEventListener('keydown', function () {
44 fullscreen
.webkitRequestFullScreen();
47 if (window
.eventSender
)
48 eventSender
.keyDown('a');
50 window
.addEventListener("load", doTest
, false);
53 <!-- when full screening the iframe, bad should not be visible -->
54 <div id=
"fixed-container">
55 <iframe id=
"fullscreenme" src=
"resources/green.html"></iframe>