fidian / PrettyCSS

CSS beautifier, lint checker, validator
Other
34 stars 12 forks source link

Shorthand property 'border-style' causes warning #36

Closed Markus00000 closed 9 years ago

Markus00000 commented 9 years ago
* {
    border-style: none solid dotted dashed;
}

PrettyCSS gives this warning:

Extra tokens were found after a valid value - browsers may discard this entire property (solid)

https://developer.mozilla.org/en-US/docs/Web/CSS/border-style

fidian commented 9 years ago

You're totally right. I've just addressed this in the code.

fidian commented 9 years ago

Please let me know if this does not work for you. I've added some tests to make sure that it should work as expected using CSS very similar to what you posted in this bug report.