Bug 12438

Summary: Webkit does not handle additive attribute on animation elements correctly
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.w3.org/Graphics/SVG/Test/20061213/htmlEmbedHarness/full-animate-elem-81-t.html
Attachments:
Description Flags
patch eric: review+

Eric Seidel (no email)
Reported 2007-01-27 04:06:03 PST
Webkit does not handle accumulate or additive attributes on animation elements correctly This is visible in several of the test cases. This example is one of the most noticeable however. This is mostly the result of not having a working animVal/baseVal architecture, thus not being able to save off the original value.
Attachments
patch (59.96 KB, patch)
2008-04-15 16:40 PDT, Antti Koivisto
eric: review+
Antti Koivisto
Comment 1 2008-04-15 16:40:26 PDT
Created attachment 20567 [details] patch Make multiple additive animations work.
Antti Koivisto
Comment 2 2008-04-16 21:36:10 PDT
I promise this is the last oversized animation patch, the rest will be easier to split up. :)
Eric Seidel (no email)
Comment 3 2008-04-16 22:12:02 PDT
Comment on attachment 20567 [details] patch I made some comments in IRC about comments... in general it looks fine. I assume you'll land a slightly modified version.
Antti Koivisto
Comment 4 2008-04-17 21:01:22 PDT
Sending WebCore/ChangeLog Sending WebCore/svg/SVGAnimateColorElement.cpp Sending WebCore/svg/SVGAnimateColorElement.h Sending WebCore/svg/SVGAnimateElement.cpp Sending WebCore/svg/SVGAnimateElement.h Sending WebCore/svg/SVGAnimateMotionElement.cpp Sending WebCore/svg/SVGAnimateMotionElement.h Sending WebCore/svg/SVGAnimateTransformElement.cpp Sending WebCore/svg/SVGAnimateTransformElement.h Sending WebCore/svg/SVGAnimationElement.cpp Sending WebCore/svg/SVGAnimationElement.h Sending WebCore/svg/SVGSVGElement.cpp Sending WebCore/svg/SVGSetElement.cpp Sending WebCore/svg/SVGSetElement.h Sending WebCore/svg/animation/SMILTimeContainer.cpp Sending WebCore/svg/animation/SMILTimeContainer.h Sending WebCore/svg/animation/SVGSMILElement.cpp Sending WebCore/svg/animation/SVGSMILElement.h Transmitting file data .................. Committed revision 32044.
Antti Koivisto
Comment 5 2008-04-17 21:04:38 PDT
That fixed additive, filed https://bugs.webkit.org/show_bug.cgi?id=18564 to cover accumulate.
Note You need to log in before you can comment on or make changes to this bug.