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

Re: Question on parsing of "font" property

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 19 May 2004 16:51:08 +0200
To: Ian Hickson <ian@hixie.ch>
Cc: www-style@w3.org
Message-ID: <40b072c2.1375844409@smtp.bjoern.hoehrmann.de>

* Ian Hickson wrote:
>> I was asked what the right parsing of the following CSS is:
>>
>>    font: 10px /2 Times;
>
>The above tokenises to the same as
>
>    font: 10px/2 Times;
>
>...and is therefore identical.
>
>Specifically, it is equivalent to:
>
>   font-size: 10px;
>   line-height: 2;
>   font-family: Times;
>   font-weight: normal;
>   font-variant: normal;
>   font-style: normal;
>   font-size-adjust: none;

Only in CSS 2.0, in CSS 1.0/2.1 it would not change font-size-adjust and
in CSS 3.0 as currently drafted it would change font-stretch in addition
to that...
Received on Wednesday, 19 May 2004 10:51:30 GMT

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