w3c / Unicorn

Unicorn - W3C's Unified Validator
https://validator.w3.org/unicorn/
Other
127 stars 59 forks source link

"font-family: inherit" triggers "no generic font alternative" warning #172

Closed vivienlacourba closed 8 years ago

vivienlacourba commented 8 years ago

Reported by anonymous on 6 Feb 2013 20:41 UTC While checking CSS at level 2.1 or 3 rule like this generates a warning (I've haven't personally tested other levels)

input, textarea, select, button {
    font-family: inherit;
}

inherit should be a valid option on it's own http://www.w3.org/TR/CSS2/fonts.html#font-family-prop

vivienlacourba commented 8 years ago

Comment by jean-gui on 11 Feb 2013 15:21 UTC Reported upstream: https://www.w3.org/Bugs/Public/show_bug.cgi?id=20950