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

Unified Diff: third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp

Issue 1929413002: Don't include contents visual overflow into paint invalidation rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/OverflowModelTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
index 79167e72b66c23efb56785b0f92b3289a461a2a0..b83373f094335435cb04a56ebeb276e548451ecc 100644
--- a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
+++ b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
@@ -212,13 +212,13 @@ TEST_F(VisualRectMappingTest, ContainerFlippedWritingMode)
checkPaintInvalidationStateRectMapping(rect, targetOverflowRect, *target, layoutView(), layoutView());
LayoutRect containerOverflowRect = container->localOverflowRectForPaintInvalidation();
- EXPECT_EQ(LayoutRect(-40, 0, 240, 110), containerOverflowRect);
+ EXPECT_EQ(LayoutRect(0, 0, 200, 100), containerOverflowRect);
rect = containerOverflowRect;
EXPECT_TRUE(container->mapToVisualRectInAncestorSpace(container, rect));
- EXPECT_EQ(LayoutRect(0, 0, 240, 110), rect);
+ EXPECT_EQ(LayoutRect(0, 0, 200, 100), rect);
rect = containerOverflowRect;
EXPECT_TRUE(container->mapToVisualRectInAncestorSpace(&layoutView(), rect));
- EXPECT_EQ(LayoutRect(222, 111, 240, 110), rect);
+ EXPECT_EQ(LayoutRect(222, 111, 200, 100), rect);
checkPaintInvalidationStateRectMapping(rect, containerOverflowRect, *container, layoutView(), layoutView());
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/OverflowModelTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698