| 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 27 matching lines...) Expand all Loading... |
| 38 border: 4px solid darkred; | 38 border: 4px solid darkred; |
| 39 background-color: red; | 39 background-color: red; |
| 40 z-index: 500; | 40 z-index: 500; |
| 41 position: relative; | 41 position: relative; |
| 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, the whole screen should be white. |
| 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 allowfullscreen src="resources/inner.html" id="block1"></iframe> | 52 <iframe allowfullscreen src="resources/empty.html" id="block1"></iframe> |
| 53 </body> | 53 </body> |
| 54 </html> | 54 </html> |
| OLD | NEW |