Skip to content

Add a couple options to squelch errors for certain CSS browser hacks #10

@cvrebert

Description

@cvrebert

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions