Index: Source/core/svg/SVGTextContentElement.cpp |
diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp |
index a1901ab5dbbb5ab3b8968cea427e2a2264b154f7..046d6d4a1a4fbd622ba9350f0acf79c000560f6a 100644 |
--- a/Source/core/svg/SVGTextContentElement.cpp |
+++ b/Source/core/svg/SVGTextContentElement.cpp |
@@ -213,10 +213,13 @@ 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); |
+ QualifiedName spaceWithPrefix = XMLNames::spaceAttr; |
pdr.
2013/12/11 00:10:58
Can you add namespacePrefix="XML" in xmlattrs.in t
|
+ spaceWithPrefix.setPrefix(xmlAtom); |
+ supportedAttributes.add(spaceWithPrefix); |
+ supportedAttributes.add(XMLNames::spaceAttr); |
} |
return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
} |
@@ -255,7 +258,6 @@ 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 |
ASSERT_NOT_REACHED(); |