Closed gouch closed 7 years ago
wavy and others are css 3 draft state, which is not covered by parser-lib.
seems like css3 text-decoration is not widely covered yet.
I'm not sure why you think CSSLint ignores draft rules. I see lots of rules in both working draft and candidate recommendation status (e.g. column-rule
).
The new text-decoration
values are used in normalize.css, which makes its way into a lot of other places (including this very issues page), which is why this error is particularly annoying.
I thought so, because I see some of https://github.com/CSSLint/parser-lib/labels/Not%20in%20latest%20official%20spec being in draft state. But your right, Properties.js has a lot of css3 draft things in it :(
Maybe a PR will be accepted. Would you mind to create one?
text-decoration
is now a shorthand property and so has several more valid values. csslint incorrectly flags these as errors.text-decoration: underline wavy red;
See documentation
These new
text-decoration
values are used in the popular normalize.css library.