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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp

Issue 2552093002: SVG root's contentsProperties should for contents in HTML space (Closed)
Patch Set: - Created 4 years 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/paint/ObjectPaintProperties.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/paint/PaintPropertyTreeBuilderTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
index 2af3d7fe368e997a67167a2c3fa49b863856bfd2..f89158054fb4bb05d4f06848772ed5a38be4bee5 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
@@ -2285,8 +2285,8 @@ TEST_P(PaintPropertyTreeBuilderTest,
->propertyTreeState.transform());
auto contentsProperties = svgWithViewBoxProperties->contentsProperties();
- EXPECT_EQ(LayoutPoint(), contentsProperties.paintOffset);
- EXPECT_EQ(svgWithViewBoxProperties->svgLocalToBorderBoxTransform(),
+ EXPECT_EQ(LayoutPoint(30, 20), contentsProperties.paintOffset);
+ EXPECT_EQ(framePreTranslation(),
contentsProperties.propertyTreeState.transform());
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698