W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2001

Re: "font-name,font-name"

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 19 Oct 2001 17:49:21 +0200
To: Ole Kasper Olsen <ole.olsen@enitel.no>
Cc: www-validator-css@w3.org
Message-ID: <doi0ttoomm2m9i9est24g0bn024hpistv3@4ax.com>
* Ole Kasper Olsen wrote:
>I've seen an incident where the css-validator validates a document with
>
>font-family: "Verdana,Arial";
>
>This will ofcourse not work, as there is no font called
>"Verdana,Arial".

How should the Validator know?

>My suggestion is to implement a check for commas
>within quotationmarks in font-name. I, atleast, am not aware of
>any fonts with comma(s) in its name. If there should exist such a font,
>it's better to fail there, than in every instance like mentioned above?

Hm, a warning message could be possible, but where to start and where to
stop? There aren't fonts named 'foo#bar' or '---' either, for which
should warnings be issued?
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Friday, 19 October 2001 11:49:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 23:21:12 UTC