| Index: Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
|
| index e1cd1cb0be1cc5f2c744e4cb6f2508e549317e0d..5b8cfe34cd84a179dadb17549bbc261e8262918c 100644
|
| --- a/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -68,7 +68,7 @@ public:
|
|
|
| private:
|
| SVGAnimatedTextLength(SVGTextContentElement* contextElement)
|
| - : SVGAnimatedLength(contextElement, SVGNames::textLengthAttr, SVGLength::create(LengthModeOther))
|
| + : SVGAnimatedLength(contextElement, SVGNames::textLengthAttr, SVGLength::create(LengthModeOther), ForbidNegativeLengths)
|
| {
|
| }
|
| };
|
| @@ -238,7 +238,7 @@ void SVGTextContentElement::parseAttribute(const QualifiedName& name, const Atom
|
| else if (name == SVGNames::lengthAdjustAttr) {
|
| m_lengthAdjust->setBaseValueAsString(value, parseError);
|
| } else if (name == SVGNames::textLengthAttr) {
|
| - m_textLength->setBaseValueAsString(value, ForbidNegativeLengths, parseError);
|
| + m_textLength->setBaseValueAsString(value, parseError);
|
| } else if (name.matches(XMLNames::spaceAttr)) {
|
| } else
|
| ASSERT_NOT_REACHED();
|
|
|