summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGImageElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGImageElement.cpp')
-rw-r--r--WebCore/svg/SVGImageElement.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/svg/SVGImageElement.cpp b/WebCore/svg/SVGImageElement.cpp
index fcfa54f..3eb64db 100644
--- a/WebCore/svg/SVGImageElement.cpp
+++ b/WebCore/svg/SVGImageElement.cpp
@@ -98,6 +98,9 @@ void SVGImageElement::svgAttributeChanged(const QualifiedName& attrName)
if (isLengthAttribute)
updateRelativeLengthsInformation();
+ if (SVGTests::handleAttributeChange(this, attrName))
+ return;
+
RenderObject* renderer = this->renderer();
if (!renderer)
return;
@@ -115,7 +118,6 @@ void SVGImageElement::svgAttributeChanged(const QualifiedName& attrName)
}
if (attrName == SVGNames::preserveAspectRatioAttr
- || SVGTests::isKnownAttribute(attrName)
|| SVGLangSpace::isKnownAttribute(attrName)
|| SVGExternalResourcesRequired::isKnownAttribute(attrName))
RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);