On Sun, Aug 20, 2006 at 09:39:53PM +0100, Cecil Ward wrote: > 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.". If it is quoted then it is not a keyword, therefore it is no a generic font family name, therefore it is a font called "Serif" rather than "A serif font". I don't think this is an error. -- David Dorward http://dorward.me.ukReceived on Monday, 21 August 2006 11:04:01 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:57 UTC