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

Unified Diff: LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/paint/invalidation/spv2/fixed-move-after-scroll-expected.html
diff --git a/LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll-expected.html b/LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..6a1ed2dd6f9e9e197bdcb2fae6bbde5fd1ef8e20
--- /dev/null
+++ b/LayoutTests/paint/invalidation/spv2/fixed-move-after-scroll-expected.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+ <body onload="scrollBy(0, 200)" 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: green; position: absolute; top: 270px; left: 150px;"></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