W3C home > Mailing lists > Public > www-validator-css@w3.org > August 2006

Re: Validator incorrectly reports validity for case of font-family _keyword_ that is enclosed in quotes

From: Jens Brueckmann <jens.brueckmann@gmail.com>
Date: Tue, 22 Aug 2006 09:16:36 +0200
Message-ID: <fe03a57b0608220016r605cd42dj6597c3ed0c9639c3@mail.gmail.com>
To: www-validator-css@w3.org
Cc: "Cecil Ward" <cecil@cecilward.com>

Hi Cecil,

The expression "must not" in the specification is to be understood as
described in RFC 2119:

Thus, in your example

   a {font-family: "Serif";}

the string "Serif" actually refers to a font with this name, as David
and Philip already pointed out.

Enabling warnings in the CSS validator when validating this fragment,
the validator issues a warning:

| font-family: You are encouraged to offer a generic family as a last

This warning tells you that you missed supplying a generic font family
keyword like serif.




Jens Brueckmann
Received on Tuesday, 22 August 2006 07:16:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:42 UTC