Bug 12098

Summary: WebCore needs a working <animateMotion> (current one is a stub)
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch oliver: review+

Description Eric Seidel (no email) 2007-01-03 08:21:30 PST
WebCore needs a working <animateMotion> (current one is a stub)

I added an SVGAnimateMotionElement class last week (and all the underlying Path and SVGPathSegList additions necessary to support it), but I have not had time to actually implement the real SVGAnimateMotionElement::updateCurrentValue() logic.  The animation system may still need to be reworked a little before doing this (see bug 10931 and bug 12063), but it should actually be possible to wire up now.

Path now has a Path::normalAngleForLength() call which can be used for supporting rotate="auto" and rotate="auto-reverse".
Comment 1 Antti Koivisto 2008-04-18 18:16:58 PDT
Created attachment 20680 [details]
patch
Comment 2 Antti Koivisto 2008-04-18 21:51:48 PDT
Sending        WebCore/ChangeLog
Sending        WebCore/svg/SVGAnimateMotionElement.cpp
Sending        WebCore/svg/SVGAnimateMotionElement.h
Sending        WebCore/svg/SVGAnimationElement.cpp
Sending        WebCore/svg/SVGAnimationElement.h
Transmitting file data .....
Committed revision 32243.