Skip to main content

Bug Tracker

Side navigation

#8310 closed bug (fixed)

Opened February 18, 2011 02:06AM UTC

Closed February 18, 2011 03:36PM UTC

Last modified March 14, 2012 07:46PM UTC

: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:

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:

Attachments (0)
Change History (2)

Changed February 18, 2011 03:02PM UTC by jitter comment:1

component: unfiledselector
milestone: 1.next1.5.1
owner: → jitter
priority: undecidedhigh
status: newassigned

Changed February 18, 2011 03:36PM UTC by jitter comment:2

priority: highblocker
resolution: → fixed
status: assignedclosed