Bug Tracker

Modify

Ticket #11867 (closed bug: invalid)

Opened 12 months ago

Last modified 12 months ago

Attribute Selector Looses Case Sensitivity In IE8

Reported by: moore.alex@… Owned by:
Priority: low Milestone: None
Component: selector Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 12 months ago by sindresorhus

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to selector

Attribute names in HTML are case insensitive.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.