-
Notifications
You must be signed in to change notification settings - Fork 112
Description
Many sites these days unfortunately still need to accommodate IE9 (or, $DEITY forbid, IE8), and authors must frequently resort to CSS browser hacks to work around bugs/deficiencies in these browsers. However, they would still like to benefit from the CSS Validator's valuable error detection facilities when working on the CSS for their sites. I therefore propose the validator should add a couple options (disabled by default, and perhaps hidden in an "Advanced" pane) that would squelch errors about a couple of the simplest yet most common CSS hacks used to deal with these browsers. Specifically:
- An option to squelch errors about IE<=9's proprietary
filter:CSS property (not to be confused with the same-named standard property from Filter Effects Module Level 1) - An option to squelch errors about the
\9CSS property-value hack for IE6-8
These currently lead to nasty "Value Error"s or "Parse Error"s, as opposed to more easily manageable "Property foo doesn't exist", "Feature foo doesn't exist for media bar", or "Sorry, the at-rule @-foo is not implemented." errors.
There is precedent for adding (small, limited) old-IE-specific accommodations to Web validators/specs; see for example validator/validator#12 & https://www.w3.org/Bugs/Public/show_bug.cgi?id=27091