Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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
comment:1 Changed 12 months ago by sindresorhus
- Priority changed from undecided to low
- Status changed from new to open
- Component changed from unfiled to selector
comment:2 Changed 11 months ago by timmywil
- Owner set to timmywil
- Status changed from open to assigned
- Milestone changed from None to 1.next
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
