Bug Tracker

Opened 14 years ago

Closed 13 years ago

#5545 closed bug (worksforme)

HTML5 selectors fail in IE6 (but work fine in all other browsers)

Reported by: mathias Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: html5 sizzle selectors ie6 Cc:
Blocked by: Blocking:


HTML5 selectors like $('nav ul li:first-child') don’t seem to work in IE6.

This might be _related_ to bug #5515, but it’s clearly a different, more general issue.

Looks like a Sizzle ‘bug’ (?).

Testcase: http://jsbin.com/ihuxu (uses the HTML5 shiv for obvious reasons)

Change History (5)

comment:1 Changed 14 years ago by miketaylr

Just wanted to point out that this isn't working for me in IE7 or IE8 either.

comment:2 Changed 14 years ago by mathias

That’s weird. I tested it this morning in IE6, (IE8 as) IE7 and (IE8 as) IE8 on a WinXP machine; only IE6 failed.

After reading your comment, I checked it again in on my Macbook via Parallels (WinXP SP3), and got it working in IE8 but not in (IE8 as) IE7. More weirdness!

comment:3 Changed 14 years ago by mathias

Maybe this ‘bug’ has something to do with .nodeName case sensitivity: http://ejohn.org/blog/nodename-case-sensitivity/

comment:4 Changed 14 years ago by mathias


Here’s a new test case, using jQuery 1.4rc1: http://jsbin.com/alaga

Works in IE6, 7 and 8. Yay!

comment:5 Changed 13 years ago by dmethvin

Resolution: worksforme
Status: newclosed

Works in 1.4.

Note: See TracTickets for help on using tickets.