Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-enabled.html
blob6617c4dae32475ac65806f613a56991e9ca5a093
1 <body>
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>
5 <script>
6 var iframe = document.documentElement.appendChild(document.createElement('iframe'));
7 iframe.setAttribute('allowfullscreen', 'true');
8 var iframe2 = document.documentElement.appendChild(document.createElement('iframe'));
9 testExpected('iframe.contentDocument.webkitFullscreenEnabled', true);
10 testExpected('iframe2.contentDocument.webkitFullscreenEnabled', false);
11 endTest();
12 </script>