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: Bert Bos <bert@w3.org>
Date: Tue, 22 Aug 2006 15:12:31 +0200
To: www-validator-css@w3.org
Message-Id: <200608221512.31109.bert@w3.org>

> (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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:57 UTC