Index: Source/core/svg/SVGRectElement.cpp |
diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp |
index 044ac8907f53ae2eceaf789515f011cbb1a8d3ee..b00d3df0a4cb4c04b5dfc82a1a2bf855e5e0cb35 100644 |
--- a/Source/core/svg/SVGRectElement.cpp |
+++ b/Source/core/svg/SVGRectElement.cpp |
@@ -73,7 +73,6 @@ bool SVGRectElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGTests::addSupportedAttributes(supportedAttributes); |
SVGLangSpace::addSupportedAttributes(supportedAttributes); |
SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::xAttr); |
@@ -104,8 +103,7 @@ void SVGRectElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
setWidthBaseValue(SVGLength::construct(LengthModeWidth, value, parseError, ForbidNegativeLengths)); |
else if (name == SVGNames::heightAttr) |
setHeightBaseValue(SVGLength::construct(LengthModeHeight, value, parseError, ForbidNegativeLengths)); |
- else if (SVGTests::parseAttribute(name, value) |
- || SVGLangSpace::parseAttribute(name, value) |
+ else if (SVGLangSpace::parseAttribute(name, value) |
|| SVGExternalResourcesRequired::parseAttribute(name, value)) { |
} else |
ASSERT_NOT_REACHED(); |
@@ -132,9 +130,6 @@ void SVGRectElement::svgAttributeChanged(const QualifiedName& attrName) |
if (isLengthAttribute) |
updateRelativeLengthsInformation(); |
- if (SVGTests::handleAttributeChange(this, attrName)) |
- return; |
- |
RenderSVGShape* renderer = toRenderSVGShape(this->renderer()); |
if (!renderer) |
return; |