Skip to main content

Bug Tracker

Side navigation

#11596 closed bug (fixed)

Opened April 18, 2012 04:30AM UTC

Closed August 29, 2012 02:56PM UTC

Different behavior using find() and ~ (sibling) along with ":visible" selector

Reported by: EwyynTomato Owned by: timmywil
Priority: low Milestone: 1.8
Component: selector Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

As demonstrated here:

$("div").find("~ span")

actually returns something, but adding ":visible" as in

$("div").find("~ span:visible")

returns nothing.

  • version affected : Jquery 1.7.2 and below
  • browser affected : Chrome, Firefox, Safari (this actually ran correctly in IE9 !)
  • OS: tested on Windows 7 and LinuxMint
Attachments (0)
Change History (4)

Changed May 15, 2012 10:50AM UTC by sindresorhus comment:1

component: unfiledselector
priority: undecidedlow
status: newopen

Changed June 19, 2012 06:43AM UTC by timmywil comment:2

owner: → timmywil
status: openassigned

Changed July 23, 2012 06:55PM UTC by timmywil comment:3

Changed August 29, 2012 02:56PM UTC by timmywil comment:4

milestone: 1.next1.8
resolution: → fixed
status: assignedclosed

This was fixed in 1.8.