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

Unified Diff: LayoutTests/fast/repaint/absolute-position-changed.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/repaint/absolute-position-changed.html
diff --git a/LayoutTests/fast/repaint/absolute-position-changed.html b/LayoutTests/fast/repaint/absolute-position-changed.html
index 0c8cc0930f681591f9815d62c38d65fb92d7d9fe..aff9e3a6448a7e88a1553041b36bfd97a05c13d0 100644
--- a/LayoutTests/fast/repaint/absolute-position-changed.html
+++ b/LayoutTests/fast/repaint/absolute-position-changed.html
@@ -26,7 +26,8 @@
</head>
<body style="height:2000px;">
<!-- You should see 1 green rectangle in the output and no red. -->
- <div style="top: 200px; left: 100px;" class="fixed red"></div>
+ <!-- Force the layer to NOT composite -->
+ <div style="top: 200px; left: 100px;" class="fixed red-alpha"></div>
<div id="absoluteDiv" style="top: 500px; left:100px;" class="absolute green"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698