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 var iframe = document.getElementById('block1'); | 8 var iframe = document.getElementById('block1'); |
9 var element = iframe.contentDocument.documentElement; | 9 var element = iframe.contentDocument.documentElement; |
10 waitForEventAndEnd(element, 'webkitfullscreenchange'); | 10 waitForEventAndEnd(element, 'webkitfullscreenchange'); |
(...skipping 22 matching lines...) Expand all Loading... |
33 background-color: red; | 33 background-color: red; |
34 z-index: 500; | 34 z-index: 500; |
35 position: relative; | 35 position: relative; |
36 left: 50px; | 36 left: 50px; |
37 top: 25px; | 37 top: 25px; |
38 } | 38 } |
39 </style> | 39 </style> |
40 </head> | 40 </head> |
41 <body onload="init()"> | 41 <body onload="init()"> |
42 <div>This tests that an element with a positive z-index appears behind t
he full screen element. | 42 <div>This tests that an element with a positive z-index appears behind t
he full screen element. |
43 After entering full screen mode, the whole screen should be white w
ith a green border. | 43 After entering full screen mode, the whole screen should be white. |
44 Click <button onclick="goFullScreen()">go full screen</button> to r
un the test.</div> | 44 Click <button onclick="goFullScreen()">go full screen</button> to r
un the test.</div> |
45 <div id="block2"></div> | 45 <div id="block2"></div> |
46 <iframe allowfullscreen src="resources/empty.html" id="block1"></iframe> | 46 <iframe allowfullscreen src="resources/empty.html" id="block1"></iframe> |
47 </body> | 47 </body> |
48 </html> | 48 </html> |
OLD | NEW |