diff options
Diffstat (limited to 'Source/WebCore/svg/SVGAElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGAElement.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGAElement.cpp b/Source/WebCore/svg/SVGAElement.cpp index 8fbfc01..601b432 100644 --- a/Source/WebCore/svg/SVGAElement.cpp +++ b/Source/WebCore/svg/SVGAElement.cpp @@ -105,6 +105,21 @@ void SVGAElement::svgAttributeChanged(const QualifiedName& attrName) } } +AttributeToPropertyTypeMap& SVGAElement::attributeToPropertyTypeMap() +{ + DEFINE_STATIC_LOCAL(AttributeToPropertyTypeMap, s_attributeToPropertyTypeMap, ()); + return s_attributeToPropertyTypeMap; +} + +void SVGAElement::fillAttributeToPropertyTypeMap() +{ + AttributeToPropertyTypeMap& attributeToPropertyTypeMap = this->attributeToPropertyTypeMap(); + + SVGStyledTransformableElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap); + attributeToPropertyTypeMap.set(SVGNames::targetAttr, AnimatedString); + attributeToPropertyTypeMap.set(XLinkNames::hrefAttr, AnimatedString); +} + void SVGAElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledTransformableElement::synchronizeProperty(attrName); |