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

> (i)     keywords must not be quoted ... because to do so is illegal
>
> or
>
> (ii)    keywords must not be quoted ... because to do so not produce
> the intended effect of selecting the special generic font family name.

Interpretation (ii) is what is intended.

The revised spec (CSS 2.1) explicitly says that the quotes are needed to 
select a font named "Serif" as opposed to a generic serif font.

The validator is thus correct in accepting "Serif" as a font family.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Tuesday, 22 August 2006 13:13:27 UTC