Re: "font-name,font-name"

* 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