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

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

Issue 457663002: Convert more fullscreen tests to reftests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address feedback Created 6 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-iframe-zIndex-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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
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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-iframe-zIndex-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698