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

Unified Diff: LayoutTests/paint/invalidation/spv2/fixed-child-of-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-child-of-fixed-move-after-scroll-expected.html
diff --git a/LayoutTests/paint/invalidation/spv2/fixed-child-of-fixed-move-after-scroll-expected.html b/LayoutTests/paint/invalidation/spv2/fixed-child-of-fixed-move-after-scroll-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..db8609af55afe6a1812158a4fcd8af36b3db55c1
--- /dev/null
+++ b/LayoutTests/paint/invalidation/spv2/fixed-child-of-fixed-move-after-scroll-expected.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+ <body onload="scrollBy(0, 200)" style="height: 3000px;">
+ <div style="position: fixed: top: 0; left: 0;">
+ <p style="position: absolute; top: 210px">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: fixed; top: 70px; left: 150px;"></div>
+ <div style="width: 100px; height: 100px; background-color: yellow; position: absolute; top: 270px; left: 10px; z-index: -5;"></div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698