Bug Tracker

Opened 10 years ago

Last modified 9 years ago

#6838 closed bug

:first selector behaves differently between IE8 and FF 3.6.8 — at Initial Version

Reported by: grimace Owned by:
Priority: low Milestone: 1.7
Component: selector Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:

Description

I have the following html snippet:

<h1>Header</h1>
<div class="Item">Item 1</div>
<div class="Item">Item 2</div>

If I release the following selectors on it:

$(".Item:not(:first)")
$(".Item:not(.Item:first)")

I get Firefox to return 2 in both cases. IE8 will return 1 in the first case, and 2 in the second.

Change History (0)

Note: See TracTickets for help on using tickets.