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