diff options
Diffstat (limited to 'Source/WebCore/svg/SVGTRefElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGTRefElement.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGTRefElement.cpp b/Source/WebCore/svg/SVGTRefElement.cpp index 14c4700..1161ffe 100644 --- a/Source/WebCore/svg/SVGTRefElement.cpp +++ b/Source/WebCore/svg/SVGTRefElement.cpp @@ -84,6 +84,20 @@ void SVGTRefElement::synchronizeProperty(const QualifiedName& attrName) synchronizeHref(); } +AttributeToPropertyTypeMap& SVGTRefElement::attributeToPropertyTypeMap() +{ + DEFINE_STATIC_LOCAL(AttributeToPropertyTypeMap, s_attributeToPropertyTypeMap, ()); + return s_attributeToPropertyTypeMap; +} + +void SVGTRefElement::fillAttributeToPropertyTypeMap() +{ + AttributeToPropertyTypeMap& attributeToPropertyTypeMap = this->attributeToPropertyTypeMap(); + + SVGTextPositioningElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap); + attributeToPropertyTypeMap.set(XLinkNames::hrefAttr, AnimatedString); +} + RenderObject* SVGTRefElement::createRenderer(RenderArena* arena, RenderStyle*) { return new (arena) RenderSVGInline(this); |