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

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: Update affected tests Created 5 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 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 07adb41f0378e6d005ef28d48cf25f0b0ceb678a..3b13f0f544f78e293192aaebb38d10947d84b6d4 100644
--- a/LayoutTests/fast/repaint/absolute-position-changed.html
+++ b/LayoutTests/fast/repaint/absolute-position-changed.html
@@ -22,7 +22,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