diff options
Diffstat (limited to 'Source/WebCore/svg/SVGTextElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGTextElement.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGTextElement.cpp b/Source/WebCore/svg/SVGTextElement.cpp index b6094c9..3bb9b5e 100644 --- a/Source/WebCore/svg/SVGTextElement.cpp +++ b/Source/WebCore/svg/SVGTextElement.cpp @@ -143,6 +143,20 @@ void SVGTextElement::synchronizeProperty(const QualifiedName& attrName) synchronizeTransform(); } +AttributeToPropertyTypeMap& SVGTextElement::attributeToPropertyTypeMap() +{ + DEFINE_STATIC_LOCAL(AttributeToPropertyTypeMap, s_attributeToPropertyTypeMap, ()); + return s_attributeToPropertyTypeMap; +} + +void SVGTextElement::fillAttributeToPropertyTypeMap() +{ + AttributeToPropertyTypeMap& attributeToPropertyTypeMap = this->attributeToPropertyTypeMap(); + + SVGTextPositioningElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap); + attributeToPropertyTypeMap.set(SVGNames::transformAttr, AnimatedTransformList); +} + } #endif // ENABLE(SVG) |