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

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