Modify ↓
Ticket #8310 (closed bug: fixed)
:eq selector with next siblings selector removes element ID attribute
| Reported by: | BillyRayPreachersSon | Owned by: | jitter |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.5.1 |
| Component: | selector | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Using the :eq selector with the next siblings selector (~) removes the ID of the parent element of those elements.
This happens in Fx 3.6, Safari 5, Chrome 10, Opera 11, and IE 8. It does not happen in IE 6 or IE 7.
Interestingly enough, in jQuery 1.4.4, that combination of selectors failed to match any elements, except in IE 6 and IE 7.
Test case: http://jsbin.com/iviwi4/2
Change History
comment:1 Changed 2 years ago by jitter
- Owner set to jitter
- Priority changed from undecided to high
- Status changed from new to assigned
- Component changed from unfiled to selector
- Milestone changed from 1.next to 1.5.1
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.
