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