keithclark/selectivizr — Issue #33: IE7 does have broken attribute selectors with HTML5 forms
Author: kylemacfarlane
Created: 2012-03-10 03:40:48+00:00
State: open

Even with the html5 shiv you can't style the new HTML5 inputs in IE7 with attribute selectors (e.g. ``[type="number"]``). Presumably IE7 is setting them to ``type="text"`` before the styles are applied and Selectivizr doesn't take this into account and applies the wrong styles (often making the situation worse than if Selectivizr wasn't used at all).

So ``BROKEN_ATTR_IMPLEMENTATIONS`` needs to have a value for IE7. I don't really see a good way of doing this without listing out all the new HTML5 inputs. The quick fix is to just change it to ``ieVersion>7``.