[Webkit-unassigned] [Bug 150388] SVG Animation (SMIL) doesn't work on second run

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 15 03:34:29 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=150388

--- Comment #7 from Antoine Quint <graouts at webkit.org> ---
When the animations behave as expected, the `animatedLengthList` SVGLengthList animated in SVGAnimatedLengthListAnimator::calculateAnimatedValue() is the same I can access in SMILTimeContainer::updateAnimations() right before this chunk of code is called:

// This will calculate the contribution from the animation and add it to the resultsElement.
if (!animation->progress(elapsed, resultElement, seekToTime) && resultElement == animation)
    resultElement = nullptr;

with the following expression:

((SVGTextPositioningElement*)(animation->targetElement()))->y()

So at some point, a new SVGLengthList is created for the SVGAnimatedType* we pass to SVGAnimatedLengthListAnimator::calculateAnimatedValue() in SVGAnimateElementBase::calculateAnimatedValue() with the expression `resultAnimationElement.m_animatedType.get()`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151215/6c5775e2/attachment.html>


More information about the webkit-unassigned mailing list