Ticket #7502 (closed enhancement: invalid)
New Feature Request for 1.5: Inline SVG animation with animate() instead of SMIL
| Reported by: | WebManWlkg | Owned by: | WebManWlkg |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | unfiled | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
If an element is Inline SVG, such as you might select with $("svg rect"), animate() should use this.setAttribute("x") instead of this.style.left. And this.setAttribute("y") instead of this.style.top. And this.setAttribute("height") instead of this.style.height. And this.setAttribute("width") instead of this.style.width. There could be more, but those 4 attributes would be the biggies to implement first.
This feature would allow Inline SVG animation in advance of browser SMIL support. Even if a browser supports SMIL (such as Firefox 4 beta), animating through jQuery would also allow the animation that obey the rich collection of jQuery easing functions.
This form asks for a username. The one I've given, WebManWlkg, is my plugins.jquery.com username. I don't know if the same logins apply across jQuery sites. Anyway, that's how you can get back to me, if necessary.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Do you think that this might make a better plugin than a official patch into jQuery, due to the relative scarcity of svg on the average website?