selectivizr
selectivizr copied to clipboard
IE7 does have broken attribute selectors with HTML5 forms
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
.