| Index: Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
|
| index a1901ab5dbbb5ab3b8968cea427e2a2264b154f7..1c298456cae236d12d37961e6fe143ed4a0bec49 100644
|
| --- a/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -213,10 +213,10 @@ bool SVGTextContentElement::isSupportedAttribute(const QualifiedName& attrName)
|
| {
|
| DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
|
| if (supportedAttributes.isEmpty()) {
|
| - SVGLangSpace::addSupportedAttributes(supportedAttributes);
|
| SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes);
|
| supportedAttributes.add(SVGNames::lengthAdjustAttr);
|
| supportedAttributes.add(SVGNames::textLengthAttr);
|
| + supportedAttributes.add(XMLNames::spaceAttr);
|
| }
|
| return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
|
| }
|
| @@ -255,7 +255,7 @@ void SVGTextContentElement::parseAttribute(const QualifiedName& name, const Atom
|
| } else if (name == SVGNames::textLengthAttr) {
|
| m_textLength.value = SVGLength::construct(LengthModeOther, value, parseError, ForbidNegativeLengths);
|
| } else if (SVGExternalResourcesRequired::parseAttribute(name, value)) {
|
| - } else if (SVGLangSpace::parseAttribute(name, value)) {
|
| + } else if (name.matches(XMLNames::spaceAttr)) {
|
| } else
|
| ASSERT_NOT_REACHED();
|
|
|
|
|