Skip to main content

Bug Tracker

Side navigation

#11867 closed bug (invalid)

Opened June 06, 2012 02:03PM UTC

Closed June 06, 2012 02:21PM UTC

Attribute Selector Looses Case Sensitivity In IE8

Reported by: moore.alex@gmail.com 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

Attachments (0)
Change History (1)

Changed June 06, 2012 02:21PM UTC by sindresorhus comment:1

component: unfiledselector
priority: undecidedlow
resolution: → invalid
status: newclosed

Attribute names in HTML are case insensitive.