Skip to main content

Bug Tracker

Side navigation

#12668 closed bug (wontfix)

Opened October 07, 2012 06:02AM UTC

Closed October 08, 2012 04:09PM UTC

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 jsFiddle[http://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.

Attachments (0)
Change History (3)

Changed October 07, 2012 05:32PM UTC by rwaldron comment:1

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.

Changed October 08, 2012 02:47AM UTC by sunnythink comment:2

'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.

Changed October 08, 2012 04:09PM UTC by mikesherov comment:3

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