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

Unified Diff: LayoutTests/fast/repaint/fixed-move-after-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/repaint/fixed-move-after-scroll.html
diff --git a/LayoutTests/fast/repaint/fixed-move-after-scroll.html b/LayoutTests/fast/repaint/fixed-move-after-scroll.html
index 8d2cd1627cdfab0f7211de47b8de5ce172f49732..1e16c8d1655dbfec1c6b807297a92d34d6b04d70 100644
--- a/LayoutTests/fast/repaint/fixed-move-after-scroll.html
+++ b/LayoutTests/fast/repaint/fixed-move-after-scroll.html
@@ -11,13 +11,13 @@
function repaintTest()
{
document.getElementById('toMove').style.left = "150px";
- document.getElementById('toMove').style.backgroundColor = "green";
+ document.getElementById('toMove').style.backgroundColor = "rgba(0, 128, 0, 0.99)";
}
</script>
</head>
<body onload="scrollAndRepaint()" style="height: 3000px;">
<p style="position: absolute; top: 210">You should see a yellow rect on the left, and a green one on the right. No red pixels.</p>
- <div id="toMove" style="width: 100px; height: 100px; background-color: red; position: fixed; top: 70px; left: 10px;"></div>
+ <div id="toMove" style="width: 100px; height: 100px; background-color: rgba(255, 0, 0, 0.99); position: fixed; top: 70px; left: 10px;"></div>
<div style="width: 100px; height: 100px; background-color: yellow; position: absolute; top: 270px; left: 10px; z-index: -5;"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698