[Webkit-unassigned] [Bug 49045] LayoutTests/svg/animations/animate-path-nested-transforms.html causes assertion in debug mode.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 4 21:54:09 PDT 2010


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





--- Comment #4 from Shane Stephens <shanestephens at google.com>  2010-11-04 21:54:08 PST ---
More details: to use the animation framework you make a call like:

function executeTest() {
    const expectedValues = [
        ["animation", 0, "rect", startSample],
        ["animation", 0.1, "rect", startAnimateSample],
        ["animation", 1.00, "rect", endSample]
    ];

    runAnimationTest(expectedValues);
}

I believe this uses a set of extra hooks into the SMILAnimation code (WebCore::SVGDocumentExtensions::sampleAnimationAtTime?) to exactly control the animation state.

if the time value (here 0, 0.1 and 1.00) is 0.01, then in debug mode there's an assert in SVGSMILElement::progress here:

    if (elapsed < m_intervalBegin) {
        ASSERT(m_activeState != Active);
        if (m_activeState == Frozen && resultElement)
            updateAnimation(m_lastPercent, m_lastRepeat, resultElement);
        m_nextProgressTime = m_intervalBegin;
        return;
    }

I didn't get a chance to characterize further than this.  Hope this helps.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list