summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGCursorElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGCursorElement.cpp')
-rw-r--r--WebCore/svg/SVGCursorElement.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/svg/SVGCursorElement.cpp b/WebCore/svg/SVGCursorElement.cpp
index 9fb4140..175478d 100644
--- a/WebCore/svg/SVGCursorElement.cpp
+++ b/WebCore/svg/SVGCursorElement.cpp
@@ -30,6 +30,10 @@
namespace WebCore {
+// Animated property definitions
+DEFINE_ANIMATED_LENGTH(SVGCursorElement, SVGNames::xAttr, X, x)
+DEFINE_ANIMATED_LENGTH(SVGCursorElement, SVGNames::yAttr, Y, y)
+
inline SVGCursorElement::SVGCursorElement(const QualifiedName& tagName, Document* document)
: SVGElement(tagName, document)
, m_x(LengthModeWidth)
@@ -104,6 +108,7 @@ void SVGCursorElement::synchronizeProperty(const QualifiedName& attrName)
synchronizeY();
synchronizeExternalResourcesRequired();
synchronizeHref();
+ SVGTests::synchronizeProperties(this, attrName);
return;
}
@@ -115,6 +120,8 @@ void SVGCursorElement::synchronizeProperty(const QualifiedName& attrName)
synchronizeExternalResourcesRequired();
else if (SVGURIReference::isKnownAttribute(attrName))
synchronizeHref();
+ else if (SVGTests::isKnownAttribute(attrName))
+ SVGTests::synchronizeProperties(this, attrName);
}
void SVGCursorElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const