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;


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

Both look to be valid, no?

Received on Tuesday, 18 May 2004 21:18:51 UTC

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