Bug Tracker

Opened 10 years ago

Closed 10 years ago

#14024 closed bug (cantfix)

The 'contains' attribute selector is failing in IE8

Reported by: spiderplant0 Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.1
Keywords: Cc:
Blocked by: Blocking:


This selector doesnt seem to work with internet explorer 8:


For html like this ...

<img src="http://jsfiddle.net/img/logo.png" style="float:left" width="100" height="100">



Due to issues with IE8 need to run the fiddle through special link ...


Change History (1)

comment:1 Changed 10 years ago by gibson042

Resolution: cantfix
Status: newclosed

IE normalizes the case of style declarations (in your case, to FLOAT: left); we are not aware of a way to get the unmodified values. Consider matching on classes instead, or—if you must use style—employing a filter function instead of a string selector.

Note: See TracTickets for help on using tickets.