OLD | NEW |
| (Empty) |
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 Scree
n API</a></div> | |
4 <script src="full-screen-test.js"></script> | |
5 <script> | |
6 var iframe = document.documentElement.appendChild(document.createElement('if
rame')); | |
7 iframe.setAttribute('webkitallowfullscreen', 'true'); | |
8 var iframe2 = document.documentElement.appendChild(document.createElement('i
frame')); | |
9 testExpected('iframe.contentDocument.webkitFullscreenEnabled', true); | |
10 testExpected('iframe2.contentDocument.webkitFullscreenEnabled', false); | |
11 endTest(); | |
12 </script> | |
OLD | NEW |