OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 var runPixelTests = true; | 5 var runPixelTests = true; |
6 | 6 |
7 function init() { | 7 function init() { |
8 // Bail out early if the full screen API is not enabled or is mi ssing: | 8 // Bail out early if the full screen API is not enabled or is mi ssing: |
9 if (Element.prototype.webkitRequestFullScreen == undefined) { | 9 if (Element.prototype.webkitRequestFullScreen == undefined) { |
10 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined"); | 10 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined"); |
(...skipping 31 matching lines...) Loading... | |
42 left: 50px; | 42 left: 50px; |
43 top: 25px; | 43 top: 25px; |
44 } | 44 } |
45 </style> | 45 </style> |
46 </head> | 46 </head> |
47 <body onload="init()"> | 47 <body onload="init()"> |
48 <div>This tests that an element with a positive z-index appears behind t he full screen element. | 48 <div>This tests that an element with a positive z-index appears behind t he full screen element. |
49 After entering full screen mode, only a white box should be visible . | 49 After entering full screen mode, only a white box should be visible . |
50 Click <button onclick="goFullScreen()">go full screen</button> to r un the test.</div> | 50 Click <button onclick="goFullScreen()">go full screen</button> to r un the test.</div> |
51 <div id="block2"></div> | 51 <div id="block2"></div> |
52 <iframe webkitallowfullscreen src="resources/inner.html" id="block1"></i frame> | 52 <iframe allowfullscreen src="resources/inner.html" id="block1"></iframe> |
53 </body> | 53 </body> |
falken
2014/07/01 05:03:28
nit: might as well close the </html> (well, we'd u
| |
OLD | NEW |