#7276 closed bug (duplicate)
Inconsistent element selection in IE
Reported by: | Keith Clark | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.next |
Component: | selector | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
These two statements (effectively identical) return different elements in IE:
console.log($(":not(body)").length)
console.log($("*:not(body)").length)
Try it on the jQuery home page in IE's developer tools console.
Change History (7)
comment:1 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → high |
Status: | new → open |
comment:2 Changed 12 years ago by
Keywords: | needsreview added |
---|---|
Milestone: | → 1.7 |
Given how IE sees nodes vs other browsers, I don't think this is something worth addressing.
comment:3 Changed 12 years ago by
Milestone: | 1.7 → 1.next |
---|
comment:5 Changed 12 years ago by
Keywords: | needsreview removed |
---|
Triage confirmed. Further reduction: http://jsfiddle.net/rwaldron/56K3B/
Screenshot IE6: http://gyazo.com/640652b235e8ee7eff342dab2d535293.png
comment:6 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
The first form also selects comment nodes.
live test case