RESOLVED FIXED 11290
'animateTransform' and 'set' don't work, but they are referenced as 'working'
https://bugs.webkit.org/show_bug.cgi?id=11290
Summary 'animateTransform' and 'set' don't work, but they are referenced as 'working'
Matthieu Chaton
Reported 2006-10-14 02:48:39 PDT
I have to make an animation in SVG. According to the svg status, the only elements that work are set, animateTransform and animateColor. But webkit doesn't render the animation when using these elements. The code I have used, and which works with ASV 3 and 6 is : <set begin="abtn1.click" id="set_anim0a" attributeName="x" to="0" xlink:href="#aimga" /> <animateTransform attributeName="transform" xlink:href="#aimga" type="scale" values="1,1;0,1;-1,1" begin="abtn1.click" dur="'.$dur.'" repeatCount="1" additive="sum" calcMode="linear" fill="freeze" accumulate="none" restart="always"/> <set begin="abtn1.click+'.($dur/2).'s" id="set_anim1" attributeName="xlink:href" to="" xlink:href="#aimga" /> where $dur is the duration (in PHP). I have alse tested this site, wich is a reference for the SVG : http://pilat.free.fr/tutorial/animate.svg Go to the exemples and code sections, and see that <set> and <animateTransform> are not working with webkit, but work with ASV.
Attachments
path animation test (1.81 KB, image/svg+xml)
2011-01-13 02:37 PST, MH
no flags
animateTransform test (4.09 KB, image/svg+xml)
2011-01-13 02:37 PST, MH
no flags
<set> animation test (1.59 KB, image/svg+xml)
2011-01-13 02:39 PST, MH
no flags
Eric Seidel (no email)
Comment 1 2007-01-31 05:22:00 PST
Well, they certainly work better now. :) It would be much more helpful to file individual bugs about specific aspects of <animateTransform> and <set> which don't work correctly.
Nikolas Zimmermann
Comment 2 2010-01-13 19:16:09 PST
Matthieu, are you still interessted in this bug? If yes, I'd highly recommend a reduced testcase, as the supplied one is quite complex. I don't even see it react on any clicks (Syntax etc..)
MH
Comment 3 2011-01-13 02:35:54 PST
It seems, it WORKS now :) See attachments... Very good job, many thanks!!
MH
Comment 4 2011-01-13 02:37:08 PST
Created attachment 78790 [details] path animation test
MH
Comment 5 2011-01-13 02:37:59 PST
Created attachment 78791 [details] animateTransform test
MH
Comment 6 2011-01-13 02:39:20 PST
Created attachment 78792 [details] <set> animation test
Note You need to log in before you can comment on or make changes to this bug.