Skip to main content

Bug Tracker

Side navigation

#12626 closed bug (wontfix)

Opened September 27, 2012 08:32PM UTC

Closed October 08, 2012 04:08PM UTC

Last modified February 08, 2013 08:06PM UTC

Binding to SVG nodes with a class selector broken by 1.8.2

Reported by: jesse@luckysort.com Owned by:
Priority: low Milestone: None
Component: event Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

The same event binding works in 1.8.1, but not in 1.8.2. In this example, the circle should turn red on hover:

jQuery 1.8.1:

http://jsfiddle.net/3aEcw/

jQuery 1.8.2:

http://jsfiddle.net/mvFrJ/

Attachments (0)
Change History (6)

Changed September 27, 2012 08:38PM UTC by jesse@luckysort.com comment:1

(I confirmed the issue on Chrome 22, WebKit Nightly, and FireFox 15.)

Changed September 27, 2012 11:21PM UTC by gibson042 comment:2

_comment0: See #10791 and use [class="classname"] instead. \ \ http://jsfiddle.net/mvFrJ/1/ \ \ Keeping this open because I'm not sure what changed between 1.8.1 and 1.8.2, since we had closed it wontfix long ago.1358346781883992

See #10791 and use [class~="classname"] instead.

http://jsfiddle.net/mvFrJ/1/

Keeping this open because I'm not sure what changed between 1.8.1 and 1.8.2, since we had closed it wontfix long ago.

Changed October 08, 2012 04:08PM 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

Changed October 12, 2012 01:08PM UTC by dmethvin comment:4

#12714 is a duplicate of this ticket.

Changed January 16, 2013 02:37PM UTC by gibson042 comment:5

#13231 is a duplicate of this ticket.

Changed February 08, 2013 08:06PM UTC by gibson042 comment:6

#13420 is a duplicate of this ticket.