Index: Source/core/svg/SVGAnimateElement.cpp |
diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp |
index df0ffceb40bae5f0358658e46009d005c3e8cf87..6d50d9cf1b896287adef85647b796a60979a9a9c 100644 |
--- a/Source/core/svg/SVGAnimateElement.cpp |
+++ b/Source/core/svg/SVGAnimateElement.cpp |
@@ -202,6 +202,7 @@ void SVGAnimateElement::resetAnimatedType() |
return; |
if (shouldApply == ApplyXMLAnimation) { |
+ targetElement->invalidateSVGAttributes(); |
adamk
2014/02/24 21:33:01
Why did you put this here instead of next to the s
chrishtr
2014/02/24 21:46:19
It is indeed the case that not all callers of thes
chrishtr
2014/02/24 22:30:46
Done.
|
// SVG DOM animVal animation code-path. |
m_animatedProperties = animator->findAnimatedPropertiesForAttributeName(targetElement, attributeName); |
SVGElementAnimatedPropertyList::const_iterator end = m_animatedProperties.end(); |
@@ -225,6 +226,7 @@ void SVGAnimateElement::resetAnimatedType() |
String baseValue; |
if (shouldApply == ApplyCSSAnimation) { |
+ targetElement->invalidateSVGAttributes(); |
adamk
2014/02/24 21:33:01
Same question as above.
chrishtr
2014/02/24 22:30:46
Done.
|
ASSERT(SVGAnimationElement::isTargetAttributeCSSProperty(targetElement, attributeName)); |
computeCSSPropertyValue(targetElement, cssPropertyID(attributeName.localName()), baseValue); |
} |