Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12668 closed bug (wontfix)

jQuery mistakes event on SVG 'use' element in IE9.

Reported by: sunnythink Owned by:
Priority: low Milestone: None
Component: event Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Description

Have a look on jsFiddlehttp://jsfiddle.net/sunnythink/gkrhY/

1.All work well in FF; 2.'circle' works well in IE9; 3.'use' fails in IE9; 4.In FF, 'delegate' fails, 'on' is fine.

Change History (3)

comment:1 Changed 7 years ago by Rick Waldron

Confirmed and further reduction http://jsfiddle.net/rwaldron/VvgeU/

I'll warn that this is unlikely to be fixed, unless the fix requires very minimal changes. Note that I initially wrote a test that automated the click with jQuery("use").trigger("click");, this does work—the issue arises with real clicks.

comment:2 Changed 7 years ago by sunnythink

'on' is a nice and neat way to handle event in the case of many different 'use' elements. Sometimes I have to do so. Less code.

Thanks, I'll keep eyes on this.

comment:3 Changed 7 years ago by mikesherov

Component: unfiledevent
Priority: undecidedlow
Resolution: wontfix
Status: newclosed

Unfortunately, we don't support SVG, and even though this worked in the past, it's not something we're supporting so we're not going to fix it for now. If we decide to support SVG in the future, we'll reopen and address this issue.

Thanks!

http://docs.jquery.com/Won't_Fix#SVG.2FXML.2FVML_Bugs

Note: See TracTickets for help on using tickets.