Bug Tracker

Modify

Ticket #8310 (closed bug: fixed)

Opened 2 years ago

Last modified 14 months ago

: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

comment:2 Changed 2 years ago by jitter

  • Priority changed from high to blocker
  • Status changed from assigned to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.