summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/svg/SVGEllipseElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGEllipseElement.cpp')
-rw-r--r--Source/WebCore/svg/SVGEllipseElement.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGEllipseElement.cpp b/Source/WebCore/svg/SVGEllipseElement.cpp
index 4a12aa7..129e1cd 100644
--- a/Source/WebCore/svg/SVGEllipseElement.cpp
+++ b/Source/WebCore/svg/SVGEllipseElement.cpp
@@ -142,6 +142,23 @@ void SVGEllipseElement::synchronizeProperty(const QualifiedName& attrName)
SVGTests::synchronizeProperties(this, attrName);
}
+AttributeToPropertyTypeMap& SVGEllipseElement::attributeToPropertyTypeMap()
+{
+ DEFINE_STATIC_LOCAL(AttributeToPropertyTypeMap, s_attributeToPropertyTypeMap, ());
+ return s_attributeToPropertyTypeMap;
+}
+
+void SVGEllipseElement::fillAttributeToPropertyTypeMap()
+{
+ AttributeToPropertyTypeMap& attributeToPropertyTypeMap = this->attributeToPropertyTypeMap();
+
+ SVGStyledTransformableElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap);
+ attributeToPropertyTypeMap.set(SVGNames::cxAttr, AnimatedLength);
+ attributeToPropertyTypeMap.set(SVGNames::cyAttr, AnimatedLength);
+ attributeToPropertyTypeMap.set(SVGNames::rxAttr, AnimatedLength);
+ attributeToPropertyTypeMap.set(SVGNames::ryAttr, AnimatedLength);
+}
+
void SVGEllipseElement::toPathData(Path& path) const
{
ASSERT(path.isEmpty());