Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9579 closed bug (patchwelcome)

jQuery([elementOfDOMElements]).children([selelector]) produces strange results when array has multiple elements of which one is an svg

Reported by: winSharp93 Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


See http://jsfiddle.net/PWruv/2/

While in general, finding SVG-elements by their class using the ".classname" selector works fine (first part of example), it doesn't work when using an array of multiple DOMElements as a context (second part of the example). Note that adding the div "bar" to the array should not change the result of the selector - however, it is does.

Tested in FF 4, Chrome and IE 9.

Change History (3)

comment:1 Changed 12 years ago by winSharp93

"Fails" comment on wrong assert - updated example here: http://jsfiddle.net/PWruv/4/

comment:2 Changed 12 years ago by timmywil

Component: unfiledselector
Priority: undecidedlow
Status: newopen

comment:3 Changed 12 years ago by john

Resolution: patchwelcome
Status: openclosed

Unfortunately we really don't have to bandwidth to tackle SVG-related issues, patches would be appreciated. http://docs.jquery.com/Won%27t_Fix

Note: See TracTickets for help on using tickets.