blob: 6d10be52551f4f8efa6b9248914f1684d64c992b [file] [log] [blame]
<body>
<div>This tests the <code>fullscreenEnabled</code> property laid out in section 4 of the W3C
<a href="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html">Full Screen API</a></div>
<script src="full-screen-test.js"></script>
<script>
var iframe = document.documentElement.appendChild(document.createElement('iframe'));
iframe.setAttribute('webkitallowfullscreen', 'true');
var iframe2 = document.documentElement.appendChild(document.createElement('iframe'));
testExpected('iframe.contentDocument.webkitFullscreenEnabled', true);
testExpected('iframe2.contentDocument.webkitFullscreenEnabled', false);
endTest();
</script>