Bug 12098 - WebCore needs a working <animateMotion> (current one is a stub)
Summary: WebCore needs a working <animateMotion> (current one is a stub)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 08:21 PST by Eric Seidel (no email)
Modified: 2008-04-18 21:51 PDT (History)
0 users

See Also:


Attachments
patch (13.44 KB, patch)
2008-04-18 18:16 PDT, Antti Koivisto
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.