Bug Tracker


Ticket #7502 (closed enhancement: invalid)

Opened 3 years ago

Last modified 3 years ago

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:


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

comment:1 Changed 3 years ago by SlexAxton

  • Owner set to WebManWlkg
  • Status changed from new to pending

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?

comment:2 Changed 3 years ago by WebManWlkg

  • Status changed from pending to new


I'll give the plugin approach a try. If I'm wildly successful, I'll withdraw my request.

comment:3 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

I'm going to close this ticket since the plugin is the best next step for the idea.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.