#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: | ||
Blocked by: | Blocking: |
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 (2)
comment:1 Changed 13 years ago by
Component: | unfiled → selector |
---|---|
Milestone: | 1.next → 1.5.1 |
Owner: | set to jitter |
Priority: | undecided → high |
Status: | new → assigned |
comment:2 Changed 13 years ago by
Priority: | high → blocker |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Fixed https://github.com/jeresig/sizzle/commit/ef19279f54ba49242c6461d47577c703f4f4e80e