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

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

Issue 1656713002: Add will-change: none !important to fullscreen.css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing -expected.html file Created 4 years, 10 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/LayoutTests/fullscreen/full-screen-will-change-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 <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%;
11 } 11 }
12 12
13 #fixed-container { 13 #fixed-container {
14 position: fixed; 14 position: fixed;
15 top: 0px; 15 top: 0px;
16 left: 0px; 16 left: 0px;
17 z-index: 0; 17 z-index: 0;
18 } 18 }
19 19
20 #fullscreenme { 20 #fullscreenme {
21 height: 400px; 21 height: 400px;
22 width: 400px; 22 width: 400px;
23 border: 0px; 23 border: 0px;
24 will-change: transform;
philipj_slow 2016/02/01 06:45:14 You probably don't need a test using an iframe to
24 } 25 }
25 </style> 26 </style>
26 </head> 27 </head>
27 <script src="full-screen-test.js"></script> 28 <script src="full-screen-test.js"></script>
28 <script> 29 <script>
29 function doTest() { 30 function doTest() {
30 if (window.testRunner) { 31 if (window.testRunner) {
31 testRunner.dumpAsTextWithPixelResults(); 32 testRunner.dumpAsTextWithPixelResults();
32 testRunner.waitUntilDone(); 33 testRunner.waitUntilDone();
33 } 34 }
(...skipping 16 matching lines...) Expand all
50 window.addEventListener("load", doTest, false); 51 window.addEventListener("load", doTest, false);
51 </script> 52 </script>
52 <body> 53 <body>
53 <!-- when full screening the iframe, bad should not be visible --> 54 <!-- when full screening the iframe, bad should not be visible -->
54 <div id="fixed-container"> 55 <div id="fixed-container">
55 <iframe id="fullscreenme" src="resources/green.html"></iframe> 56 <iframe id="fullscreenme" src="resources/green.html"></iframe>
56 </div> 57 </div>
57 <div id="bad"></div> 58 <div id="bad"></div>
58 </body> 59 </body>
59 </html> 60 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fullscreen/full-screen-will-change-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698