| Index: Source/core/svg/SVGTextPathElement.cpp
|
| diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp
|
| index 8b9b4e05f852a304dc2fe87e710be5b466696f8d..727de2061bc8fedc876d838fd314d60b8eab456d 100644
|
| --- a/Source/core/svg/SVGTextPathElement.cpp
|
| +++ b/Source/core/svg/SVGTextPathElement.cpp
|
| @@ -54,7 +54,7 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
|
| inline SVGTextPathElement::SVGTextPathElement(Document& document)
|
| : SVGTextContentElement(SVGNames::textPathTag, document)
|
| , SVGURIReference(this)
|
| - , m_startOffset(SVGAnimatedLength::create(this, SVGNames::startOffsetAttr, SVGLength::create(LengthModeOther)))
|
| + , m_startOffset(SVGAnimatedLength::create(this, SVGNames::startOffsetAttr, SVGLength::create(LengthModeOther), AllowNegativeLengths))
|
| , m_method(SVGAnimatedEnumeration<SVGTextPathMethodType>::create(this, SVGNames::methodAttr, SVGTextPathMethodAlign))
|
| , m_spacing(SVGAnimatedEnumeration<SVGTextPathSpacingType>::create(this, SVGNames::spacingAttr, SVGTextPathSpacingExact))
|
| {
|
| @@ -99,7 +99,7 @@ void SVGTextPathElement::parseAttribute(const QualifiedName& name, const AtomicS
|
| if (!isSupportedAttribute(name))
|
| SVGTextContentElement::parseAttribute(name, value);
|
| else if (name == SVGNames::startOffsetAttr)
|
| - m_startOffset->setBaseValueAsString(value, AllowNegativeLengths, parseError);
|
| + m_startOffset->setBaseValueAsString(value, parseError);
|
| else if (name == SVGNames::methodAttr)
|
| m_method->setBaseValueAsString(value, parseError);
|
| else if (name == SVGNames::spacingAttr)
|
|
|