Bug Tracker

Modify

Ticket #4569 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

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

Change History

comment:1 Changed 4 years ago by foyb

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

comment:2 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #4243.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.