[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 06:43:57 PST 2015


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

--- Comment #8 from Antoine Quint <graouts at webkit.org> ---
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.

-- 
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/7fd306e4/attachment.html>


More information about the webkit-unassigned mailing list