Skip to main content

Bug Tracker

Side navigation

#4569 closed bug (duplicate)

Opened April 21, 2009 08:11PM UTC

Closed October 08, 2009 05:32AM UTC

Sizzle/Selector Bug: Siblings selector in IE, FF, and Opera

Reported by: bbonifield Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

An attempt to pull siblings using $("#id ~ *") [ where #id is a div element ] will return an empty set. I took the code sample from http://docs.jquery.com/Selectors/siblings#prevsiblings and replaced the span#prev element with div#prev, and it no longer works in IE, FF, or Opera. The same code works properly in Webkit based browsers.

Working: http://jsbin.com/upuze

Not working: http://jsbin.com/ujexu

Attachments (0)
Change History (2)

Changed July 25, 2009 11:06PM UTC by foyb comment:1

see #4931 for same bug... ;) (works fine with ffox 3.5.2 btw, the examples do not differ in ffox 3.5.2 ...)

Changed October 08, 2009 05:32AM UTC by john comment:2

resolution: → duplicate
status: newclosed

Duplicate of #4243.