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

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

From: Cecil Ward <cecil@cecilward.com>
Date: Sun, 20 Aug 2006 21:39:53 +0100
To: <www-validator-css@w3.org>
Message-ID: <000601c6c498$ca7d24f0$0500a8c0@cecilibmr51>

Test case checked using direct input mode, grammar CSS2 selected:

Test case :

a { font-family:  "Serif"; }

I believe that the above is illegal, if my reading of CSS 2.1 and CSS 2 is
correct, yet the validator reports no error.

Reasoning: CSS2 section 15.2.2 states "Generic font family names are
keywords, and therefore must not be quoted.".


Cecil Ward.
Received on Monday, 21 August 2006 10:58:21 UTC

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