Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: LayoutTests/fullscreen/full-screen-iframe-zIndex.html

Issue 974783002: Match the Fullscreen spec's CSS as far as currently practical (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: disambiguate Fullscreen UA style sheet Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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. 43 After entering full screen mode, the whole screen should be white w ith a green border.
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698