| Index: Source/core/svg/SVGSVGElement.cpp
|
| diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
|
| index 1c7674368b69727cb7867a65be7fc98513ab5c72..1fb7667fb2854940716f1f4606da9ae285085a0d 100644
|
| --- a/Source/core/svg/SVGSVGElement.cpp
|
| +++ b/Source/core/svg/SVGSVGElement.cpp
|
| @@ -256,8 +256,7 @@ void SVGSVGElement::parseAttribute(const QualifiedName& name, const AtomicString
|
| 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)
|
| || SVGFitToViewBox::parseAttribute(this, name, value)
|
| || SVGZoomAndPan::parseAttribute(this, name, value)) {
|
| @@ -268,7 +267,7 @@ void SVGSVGElement::parseAttribute(const QualifiedName& name, const AtomicString
|
| }
|
|
|
| void SVGSVGElement::svgAttributeChanged(const QualifiedName& attrName)
|
| -{
|
| +{
|
| bool updateRelativeLengthsOrViewBox = false;
|
| bool widthChanged = attrName == SVGNames::widthAttr;
|
| if (widthChanged
|
| @@ -294,8 +293,6 @@ void SVGSVGElement::svgAttributeChanged(const QualifiedName& attrName)
|
| }
|
|
|
| SVGElementInstance::InvalidationGuard invalidationGuard(this);
|
| - if (SVGTests::handleAttributeChange(this, attrName))
|
| - return;
|
|
|
| if (updateRelativeLengthsOrViewBox
|
| || SVGLangSpace::isKnownAttribute(attrName)
|
| @@ -306,7 +303,7 @@ void SVGSVGElement::svgAttributeChanged(const QualifiedName& attrName)
|
| return;
|
| }
|
|
|
| - SVGStyledElement::svgAttributeChanged(attrName);
|
| + SVGGraphicsElement::svgAttributeChanged(attrName);
|
| }
|
|
|
| unsigned SVGSVGElement::suspendRedraw(unsigned /* maxWaitMilliseconds */)
|
|
|