Opened 11 years ago
Closed 10 years ago
#11596 closed bug (fixed)
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: |
Description
As demonstrated here: http://jsfiddle.net/8cy7e/2/
$("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
Change History (4)
comment:1 Changed 11 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 11 years ago by
Milestone: | None → 1.next |
---|---|
Owner: | set to timmywil |
Status: | open → assigned |
comment:3 Changed 11 years ago by
comment:4 Changed 10 years ago by
Milestone: | 1.next → 1.8 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
This was fixed in 1.8.
Note: See
TracTickets for help on using
tickets.
http://jsfiddle.net/timmywil/8cy7e/5/