Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13859 closed bug (wontfix)

Selector in IE8 (anchor/id)

Reported by: u.patrik.pettersson@… Owned by: timmywil
Priority: high Milestone: None
Component: selector Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Description

Selectors like $("#test span") fails in IE8 when there's an element (in my case an anchor) with the same name as the id given.

http://jsbin.com/uhuvuv/2/edit

It has to be run in editmode for some reason to produce the error, doing the same thing in a local file produces the error every time.

This works in jQuery 1.7.2 and fails in 1.8.2 & 1.9.1.

Best regards,

Patrik

Change History (2)

comment:1 Changed 6 years ago by timmywil

Component: unfiledselector
Owner: set to timmywil
Priority: undecidedhigh
Status: newassigned

I'll take a look. This could be IE8's QSA.

comment:2 Changed 6 years ago by timmywil

Resolution: wontfix
Status: assignedclosed

Actually, this only happens in quirksmode. jsbin is not setting the doctype correctly.

Note: See TracTickets for help on using tickets.