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

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

Issue 1058083003: Revert recent changes to the Fullscreen UA style sheet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698