CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.76k stars 483 forks source link

The `outline-none` rule should catch more cases #723

Closed EvgenyOrekhov closed 3 years ago

EvgenyOrekhov commented 6 years ago

The outline-none rule should generate a warning for the following case:

:focus {
    outline: transparent;
}

Also, it should generate warnings for any values that use either 0, none, or transparent, e. g.

:focus {
    outline: 1px none;
}
:focus {
    outline: 0 red;
}
:focus {
    outline: 1px solid transparent;
}
// and other combinations and permutations
EvgenyOrekhov commented 3 years ago

I am no longer interested in this. Feel free to reopen if needed.