Skip to main content

Bug Tracker

Side navigation

#14024 closed bug (cantfix)

Opened June 14, 2013 02:13PM UTC

Closed June 14, 2013 08:08PM UTC

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="" style="float:left" width="100" height="100">


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

Attachments (0)
Change History (1)

Changed June 14, 2013 08:08PM UTC by gibson042 comment:1

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.