W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: Question on parsing of "font" property

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 18 May 2004 20:59:15 -0500
Message-ID: <40AABF73.5080203@mit.edu>
To: ernestcline@mindspring.com
Cc: www-style@w3.org

Ernest Cline wrote:
>>   font: 10px /2 Times;

> The slash isn't a valid nmstart character so it looks like it wouldn't
> get picked up by the tokenizer as the start of an identifier to be
> stitched together with Times by the arcane rules of 'font-family'

The rules of font-family are not really that arcane, as far as I can see... the 
definition of font-family just says that certain characters must be escaped or 
quoted; '/' is not in the list.  Past that, as far as I can tell, anything goes 
for font-family.

Received on Tuesday, 18 May 2004 21:59:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:13 UTC