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

Side by Side Diff: LayoutTests/compositing/repaint/fixed-pos-with-abs-pos-child-scroll.html

Issue 1298493003: Currently we only composite fixed position elements if we are on High DPI devices. This fix allows … Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove similarity check Created 5 years, 3 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 3
4 <head> 4 <head>
5 <script src="../../resources/run-after-layout-and-paint.js"></script> 5 <script src="../../resources/run-after-layout-and-paint.js"></script>
6 6
7 <style> 7 <style>
8 #fixed { 8 #fixed {
9 position: fixed; 9 position: fixed;
10 bottom: 30px; 10 bottom: 30px;
11 right: 0px; 11 right: 0px;
12 } 12 }
13 #abs { 13 #abs {
14 position: absolute; 14 position: absolute;
15 bottom: 0px; 15 bottom: 0px;
16 right: 0px; 16 right: 0px;
17 height: 90px; 17 height: 90px;
18 width: 360px; 18 width: 360px;
19 background: yellow; 19 background: rgb(255, 255, 0, 0.99);
20 } 20 }
21 </style> 21 </style>
22 22
23 <script> 23 <script>
24 if (window.testRunner) { 24 if (window.testRunner) {
25 testRunner.dumpAsText(); 25 testRunner.dumpAsText();
26 testRunner.waitUntilDone(); 26 testRunner.waitUntilDone();
27 } 27 }
28 28
29 if (window.internals) { 29 if (window.internals) {
(...skipping 25 matching lines...) Expand all
55 <body style="height: 4000px;"> 55 <body style="height: 4000px;">
56 <div id="fixed"> 56 <div id="fixed">
57 <div id="abs"> 57 <div id="abs">
58 Hi! 58 Hi!
59 </div> 59 </div>
60 </div> 60 </div>
61 <pre id="layers"></pre> 61 <pre id="layers"></pre>
62 </body> 62 </body>
63 63
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698