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

Question on parsing of "font" property

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 18 May 2004 20:18:48 -0500
Message-ID: <40AAB5F8.4020104@mit.edu>
To: www-style@w3.org

I was asked what the right parsing of the following CSS is:

   font: 10px /2 Times;

(note the space before the '/'), and it seems to me that this could be 
parsed as either:

   font-size: 10px;
   font-family: /2 Times;

or

   font-size: 10px;
   line-height: 2;
   font-family: Times;

Both look to be valid, no?

-Boris
Received on Tuesday, 18 May 2004 21:18:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:30 GMT