Bug Tracker

Opened 11 years ago

Closed 11 years ago

#11867 closed bug (invalid)

Attribute Selector Looses Case Sensitivity In IE8

Reported by: [email protected] Owned by:
Priority: low Milestone: None
Component: selector Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

I'm not sure if this is a bug or feature but I couldn't find anything pointing to either.

Working Example: http://jsfiddle.net/8LSYk/5/

In Chrome / IE9, the div is red, and the input is green.

In IE8 though, the $('[name="myControl"]') selector selects both the <span name="myControl"> and <input name="MyControl" ...> elements, and makes them red.

Is IE8 case insensitive somehow or could this be a bug?

Thanks, Alex

Change History (1)

comment:1 Changed 11 years ago by sindresorhus

Component: unfiledselector
Priority: undecidedlow
Resolution: invalid
Status: newclosed

Attribute names in HTML are case insensitive.

Note: See TracTickets for help on using tickets.