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

Unified Diff: Source/core/svg/SVGTextContentElement.cpp

Issue 899293002: Fix inconsistent LengthMode definition for 'textLength' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: A newline too far. Created 5 years, 10 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 | « LayoutTests/svg/animations/animate-textlength-unitmode-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTextContentElement.cpp
diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
index d40577362b9579447df9d77a5a76537a94a67b1f..39adc89e2735debcf2d1237f684d8a70135d1bff 100644
--- a/Source/core/svg/SVGTextContentElement.cpp
+++ b/Source/core/svg/SVGTextContentElement.cpp
@@ -66,7 +66,7 @@ public:
private:
SVGAnimatedTextLength(SVGTextContentElement* contextElement)
- : SVGAnimatedLength(contextElement, SVGNames::textLengthAttr, SVGLength::create(LengthModeOther), ForbidNegativeLengths)
+ : SVGAnimatedLength(contextElement, SVGNames::textLengthAttr, SVGLength::create(LengthModeWidth), ForbidNegativeLengths)
{
}
};
« no previous file with comments | « LayoutTests/svg/animations/animate-textlength-unitmode-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698