W3C home > Mailing lists > Public > www-style@w3.org > June 2009

Re: [css3-fonts] Quoted font family names

From: Simon Pieters <simonp@opera.com>
Date: Fri, 19 Jun 2009 06:48:23 +0200
To: "Dylan Just" <dylan.just@ephox.com>, www-style@w3.org
Message-ID: <op.uvq8yxzpidj3kv@simon-pieterss-macbook.local>
On Fri, 19 Jun 2009 06:35:49 +0200, Dylan Just <dylan.just@ephox.com>  
wrote:

>> "Font family names containing more than one word should be quoted." -
>> http://www.w3.org/TR/2009/WD-css3-fonts-20090618/
>
>> I don't see any reason why they should be quoted.
>
>> I suggest the above be changed to "Font family names may be quoted.".
>
> Can font names contain commas? If so, they'll need to be quoted,  
> otherwise your suggestion's fine.

If a font name contains comma or } or a number of other things, then you  
can either quote it or backslash-escape it, I believe.

But for a font name such as Times New Roman, there's no reason to quote it.

-- 
Simon Pieters
Opera Software
Received on Friday, 19 June 2009 04:49:06 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:37 UTC