[Webkit-unassigned] [Bug 18209] Animation: SVG "rotate" transforms fail to obey the center point
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 4 09:26:27 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=18209
--- Comment #10 from Dirk Schulze <krit at webkit.org> 2011-07-04 09:26:27 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > I fear the bug is still valid. I agree that the initially posted SVG should not do what the author might want it to, but ...
>
> Hello Dirk, thx for the note. I fear too :-(
>
> I made some additional tests and I can confirm, there is still bug...
>
> #1 problem resides NOT in "rotate" transform, BUT in computing of accumulated animations (accumulate="sum"). I will attach basic SVG for repeatCount="2" for testing purposes...
>
> #2 problem: calcMode="discrete" is ignored...
>
> --tested with--
> Safari 5.0.2 (5533.18.5)
> Chrome 14.0.803.0 dev
I'm unsure if that is right. We have the same animation like batik right now. I have to check it first. The problem on SVGTransform: We don't just add the translation on every repeat, it is like a matrix that gets _post multiplied_ to all previous transforms. Thats why I doubt that 25 after first iteration and 50 after second iteration is correct.
Note that I changed the behavior of accumulation lately. We now calculate the distance from 0 to 100% for the first iteration 100% to 200% for the second iteration and so on.
Again, we have to do some math to see who is right: opera+FF (match your test) or batik+WebKit (no translation).
To calcMode=discrete: I can confirm that we don't have special handling for it. Nevertheless that is another topic. Can you open a new bug and add a test file please?
--
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