scottjehl/Respond — Issue #85: IE7: multiple classes (including a hyphen) aren't applied correctly
Author: harryfk
Created: 2011-11-28 14:20:15+00:00
State: open

Hey there,
just stumbled upon a weird issue with respond.js and the Internet Explorer 7. If a css selector is composed of multiple classnames and the last one contains a hyphen, then only that last class is assigned to the element. The others are left out.

For example: `li.active.has-sub` gets applied as if it were `li.has-sub`.

The exact same issue was reported in ie7-js and fixed, so it might be worth checking out their code. Their bug report:
http://code.google.com/p/ie7-js/issues/detail?id=162

Thanks for your amazing work,
Harry