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

Side by Side Diff: third_party/WebKit/LayoutTests/fullscreen/full-screen-will-change.html

Issue 2131283002: Use will-change: auto !important in fullscreen.css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/fullscreen.css » ('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 <style> 3 <style>
4 #bad { 4 #container {
5 position: fixed;
6 top: 0px;
7 left: 0px;
8 background-color: red;
9 width: 100%;
10 height: 100%;
11 }
12
13 #fixed-container {
14 position: fixed;
15 top: 0px;
16 left: 0px;
17 z-index: 0;
18 }
19
20 #fullscreenme {
21 height: 400px;
22 width: 400px;
23 border: 0px;
24 will-change: transform; 5 will-change: transform;
25 } 6 }
26 </style> 7 </style>
27 </head> 8 </head>
28 <script src="full-screen-test.js"></script> 9 <script src="full-screen-test.js"></script>
29 <script> 10 <script>
30 function doTest() { 11 function doTest() {
31 if (window.testRunner) { 12 if (window.testRunner) {
32 testRunner.dumpAsTextWithPixelResults(); 13 testRunner.dumpAsTextWithPixelResults();
33 testRunner.waitUntilDone(); 14 testRunner.waitUntilDone();
(...skipping 10 matching lines...) Expand all
44 document.addEventListener('keydown', function () { 25 document.addEventListener('keydown', function () {
45 fullscreen.webkitRequestFullScreen(); 26 fullscreen.webkitRequestFullScreen();
46 27
47 }); 28 });
48 if (window.eventSender) 29 if (window.eventSender)
49 eventSender.keyDown('a'); 30 eventSender.keyDown('a');
50 } 31 }
51 window.addEventListener("load", doTest, false); 32 window.addEventListener("load", doTest, false);
52 </script> 33 </script>
53 <body> 34 <body>
54 <!-- when full screening the iframe, bad should not be visible --> 35 <div id="container">
55 <div id="fixed-container">
56 <iframe id="fullscreenme" src="resources/green.html"></iframe> 36 <iframe id="fullscreenme" src="resources/green.html"></iframe>
57 </div> 37 </div>
58 <div id="bad"></div>
59 </body> 38 </body>
60 </html> 39 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/fullscreen.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698