Modify ↓
Ticket #7277 (closed bug: duplicate)
CSS sibling selectors not working
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.4.4 |
| Component: | selector | Version: | 1.4.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Using ~ or + selectors now fails.
See here http://jsbin.com/ucugi3 and toggle jQuery version between latest and 1.4.2
Change History
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.

Confirmed - This changes the behavior significantly between versions.
Ex. <table><tr><td class="test"></td><td>Hello world</td></tr></table>
$('td.test:eq(0) ~ td').text()
returns Hello world in 1.4.2 returns nothing in 1.4.3