[Webkit-unassigned] [Bug 45325] SVG Animate / Animate transform not animating after change via JS API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 5 02:47:23 PDT 2010


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





--- Comment #8 from Robin Qiu <robin.qiu at torchmobile.com.cn>  2010-11-05 02:47:23 PST ---
Created an attachment (id=73048)
 --> (https://bugs.webkit.org/attachment.cgi?id=73048&action=review)
thistest case doesn't work either

Both original code and patched code can pass this test case.
I debugged webkit:

(gdb) bt
#0  WebCore::SMILTimeContainer::updateAnimations (this=0x81748e8, elapsed=...) at ../../../WebCore/svg/animation/SMILTimeContainer.cpp:313                                                                                                                                    
#1  0xb65b5486 in WebCore::SMILTimeContainer::sampleAnimationAtTime (this=0x81748e8, elementId=..., newTime=1.5) at ../../../WebCore/svg/animation/SMILTimeContainer.cpp:222                                                                                                  
#2  0xb65179fb in WebCore::SVGDocumentExtensions::sampleAnimationAtTime (this=0x820bc38, elementId=..., element=0x820d1d8, time=1.5) at ../../../WebCore/svg/SVGDocumentExtensions.cpp:129                                                                                    
#3  0xb638ce15 in DumpRenderTreeSupportQt::pauseSVGAnimation (frame=0x819d350, animationId=..., time=1.5, elementId=...) at ../../../WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp:253                                                                                 
#4  0x08076ab8 in LayoutTestController::sampleSVGAnimationForElementAtTime (this=0x81cc170, animationId=..., time=1.5, elementId=...) at /home/robin/projects/WebKit/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp:505    

in WebCore::SMILTimeContainer::updateAnimations():
Line 260:           for (unsigned n = 0; n < toAnimate.size(); ++n) {
toAnimate is always empty, so  
Line 285:         animation->progress(elapsed, resultElement); 
never be called.

-- 
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