Side navigation
#12541 closed bug (fixed)
Opened September 14, 2012 06:38PM UTC
Closed September 19, 2012 03:32PM UTC
1.8.0 and 1.8.1: Double :not() selector fails in IE6/7
Reported by: | erwin@darcoury.nl | Owned by: | gibson042 |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8.2 |
Component: | selector | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$('div.list').find( 'dd:not(:last-child), li:not(:last-child)' );
Above code fails to take the second :not() into account; it does not filter out the last instance of li. 1.7.2 is OK.
Attachments (0)
Change History (6)
Changed September 14, 2012 06:44PM UTC by comment:1
Changed September 14, 2012 07:37PM UTC by comment:2
component: | unfiled → selector |
---|---|
owner: | → erwin@darcoury.nl |
status: | new → pending |
What behavior are you expecting here? It looks to me like we are correctly returning (within the specified div.list
context) all dd
s that are not the last child of their parents and all li
s that are are not the last child of ''their'' parent.
Changed September 14, 2012 07:44PM UTC by comment:3
status: | pending → new |
---|
That is what I expect as well, but in IE6/7/8, it returns all dd
s without the last child, but ''all'' li
s including the last child.
Changed September 15, 2012 12:49PM UTC by comment:4
milestone: | None → 1.8.2 |
---|---|
owner: | erwin@darcoury.nl → gibson042 |
priority: | undecided → blocker |
status: | new → assigned |
I see.
Fails in IE8 as well.