Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
« 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