Bug Tracker

Opened 12 years ago

Closed 12 years ago

#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:
Blocked by: Blocking:


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 (3)

comment:1 Changed 12 years ago by SlexAxton

Owner: set to WebManWlkg
Status: newpending

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 12 years ago by WebManWlkg

Status: pendingnew


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

comment:3 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.