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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp

Issue 2478233002: Make 'transform' a presentation attribute on SVG elements (Closed)
Patch Set: Rebase Created 4 years, 1 month 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: third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp
index a806329e1ac8040848d5b58400ff41705170e903..3dd74c0c2ba04a47c22942ab984e0b0fe126c089 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp
@@ -78,7 +78,8 @@ std::unique_ptr<PathPositionMapper> LayoutSVGTextPath::layoutPath() const {
// system for the current 'text' element, including any adjustments to the
// current user coordinate system due to a possible transform attribute on the
// current 'text' element. http://www.w3.org/TR/SVG/text.html#TextPathElement
- pathData.transform(pathElement.calculateAnimatedLocalTransform());
+ pathData.transform(
+ pathElement.calculateTransform(SVGElement::IncludeMotionTransform));
return PathPositionMapper::create(pathData);
}

Powered by Google App Engine
This is Rietveld 408576698