Bug Tracker

Opened 9 years ago

Closed 9 years ago

#8530 closed bug (invalid)

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

Change History (2)

comment:1 Changed 9 years ago by Rick Waldron

Component: unfileddata
Owner: set to 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.

comment:2 Changed 9 years ago by trac-o-bot

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!

Note: See TracTickets for help on using tickets.