<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - SVG Animation (SMIL) doesn't work on second run"
href="https://bugs.webkit.org/show_bug.cgi?id=150388#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - SVG Animation (SMIL) doesn't work on second run"
href="https://bugs.webkit.org/show_bug.cgi?id=150388">bug 150388</a>
from <span class="vcard"><a class="email" href="mailto:graouts@webkit.org" title="Antoine Quint <graouts@webkit.org>"> <span class="fn">Antoine Quint</span></a>
</span></b>
<pre>The new SVGLengthList is created as part of SVGAnimateElementBase::resetAnimatedType() due to this condition in SVGSMILElement::progress():
// Only reset the animated type to the base value once for the lowest priority animation that animates and contributes to a particular element/attribute pair.
if (this == resultElement && animationIsContributing)
resetAnimatedType();
… specifically with this code:
std::unique_ptr<SVGAnimatedType> SVGAnimatedLengthListAnimator::startAnimValAnimation(const SVGElementAnimatedPropertyList& animatedTypes)
{
return SVGAnimatedType::createLengthList(constructFromBaseValue<SVGAnimatedLengthList>(animatedTypes));
}
I can't put my finger on it quite yet, but something is wrong either in the condition under which resetAnimatedType() is called or within that method's implementation.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>