This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20950 - "font-family: inherit" triggers "no generic font alternative" warning
Summary: "font-family: inherit" triggers "no generic font alternative" warning
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-11 15:20 UTC by Jean-Guilhem Rouel
Modified: 2013-02-13 10:13 UTC (History)
0 users

See Also:


Attachments

Description Jean-Guilhem Rouel 2013-02-11 15:20:41 UTC
From http://code.w3.org/unicorn/ticket/246:

[[
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
]]
Comment 1 Yves Lafon 2013-02-13 10:13:52 UTC
Fixed, 'inherit' is a specific value for which the lack of generic family definition won't trigger a warning (for all levels)