diff options
Diffstat (limited to 'Source/WebCore/svg/SVGGradientElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGGradientElement.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGGradientElement.cpp b/Source/WebCore/svg/SVGGradientElement.cpp index f36fea5..67eb8fb 100644 --- a/Source/WebCore/svg/SVGGradientElement.cpp +++ b/Source/WebCore/svg/SVGGradientElement.cpp @@ -124,6 +124,16 @@ void SVGGradientElement::synchronizeProperty(const QualifiedName& attrName) synchronizeHref(); } +void SVGGradientElement::fillPassedAttributeToPropertyTypeMap(AttributeToPropertyTypeMap& attributeToPropertyTypeMap) +{ + SVGStyledElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap); + + attributeToPropertyTypeMap.set(SVGNames::spreadMethodAttr, AnimatedEnumeration); + attributeToPropertyTypeMap.set(SVGNames::gradientUnitsAttr, AnimatedEnumeration); + attributeToPropertyTypeMap.set(SVGNames::gradientTransformAttr, AnimatedTransformList); + attributeToPropertyTypeMap.set(XLinkNames::hrefAttr, AnimatedString); +} + void SVGGradientElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) { SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); |