Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp |
index ae076ae899e7270515f5694955de6502371cf8dc..6bd94f965673a5bbac1225491686c0c47553857b 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp |
@@ -48,7 +48,7 @@ TEST_F(LayoutSVGRootTest, OverflowRectMappingWithViewportClipAndBorder) |
LayoutRect rect = SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*svgRect, *root); |
// (80, 80, 100, 100) added by root's content rect offset from border rect, clipped by (10, 10, 200, 100). |
- EXPECT_EQ(LayoutRect(90, 90, 100, 30), rect); |
+ EXPECT_EQ(LayoutRect(90, 90, 100, 20), rect); |
Xianzhu
2016/09/14 21:36:00
This is also because of the change in SVGLayoutSup
|
LayoutRect rootOverflowRect = static_cast<const LayoutObject*>(root)->localOverflowRectForPaintInvalidation(); |
// SVG root with overflow:hidden doesn't include overflow from children, just border box rect. |