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

Side by Side Diff: LayoutTests/fullscreen/full-screen-fixed-pos-parent.html

Issue 462253003: Remove early returns in fullscreen tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 #bad { 4 #bad {
5 position: fixed; 5 position: fixed;
6 top: 0px; 6 top: 0px;
7 left: 0px; 7 left: 0px;
8 background-color: red; 8 background-color: red;
9 width: 100%; 9 width: 100%;
10 height: 100%; 10 height: 100%;
(...skipping 29 matching lines...) Expand all
40 }; 40 };
41 41
42 document.addEventListener('webkitfullscreenchange', fullscreenChangeEven t); 42 document.addEventListener('webkitfullscreenchange', fullscreenChangeEven t);
43 document.addEventListener('keydown', function () { 43 document.addEventListener('keydown', function () {
44 fullscreen.webkitRequestFullScreen(); 44 fullscreen.webkitRequestFullScreen();
45 45
46 }); 46 });
47 if (window.eventSender) 47 if (window.eventSender)
48 eventSender.keyDown('a'); 48 eventSender.keyDown('a');
49 } 49 }
50 if ("webkitRequestFullScreen" in Element.prototype) 50 window.addEventListener("load", doTest, false);
51 window.addEventListener("load", doTest, false);
52 </script> 51 </script>
53 <body> 52 <body>
54 <!-- when full screening the iframe, bad should not be visible --> 53 <!-- when full screening the iframe, bad should not be visible -->
55 <div id="fixed-container"> 54 <div id="fixed-container">
56 <iframe id="fullscreenme" src="resources/green.html"></iframe> 55 <iframe id="fullscreenme" src="resources/green.html"></iframe>
57 </div> 56 </div>
58 <div id="bad"></div> 57 <div id="bad"></div>
59 </body> 58 </body>
60 </html> 59 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fullscreen/full-screen-exit-when-popup.html ('k') | LayoutTests/fullscreen/full-screen-iframe-zIndex.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698