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

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

Issue 2202493002: NOT FOR REVIEW: Fullscreen WIP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 1 month 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
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 25 matching lines...) Expand all
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.
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/white.html" id="block1"></iframe>
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698