Skip to main content

Bug Tracker

Side navigation

#8530 closed bug (invalid)

Opened March 15, 2011 12:54PM UTC

Closed March 30, 2011 08:08AM UTC

animation fails on svgs

Reported by: wholcomb Owned by: wholcomb
Priority: undecided Milestone: 1.next
Component: data Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Description

The .data method will only store information on <object/>s with the flash class id.

https://github.com/jquery/jquery/blob/master/src/data.js#L203

That prevents animating the properties of svgs. For example, see:

http://will.tip.dhappy.org/test/canvg_viewBox_scaling.html?leaveNoData

With that arg, $.noData is left unaltered. Without it the 'object' entry is set to false bypassing the check and enabling the animation:

http://will.tip.dhappy.org/test/canvg_viewBox_scaling.html

Attachments (0)
Change History (2)

Changed March 15, 2011 03:25PM UTC by rwaldron comment:1

component: unfileddata
owner: → wholcomb
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!

Additionally, test against the jQuery 0 GIT version to ensure the issue still exists.

Changed March 30, 2011 08:08AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!