W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: [CSS21][css3-fonts] computed value of 'font-weight'

From: Anton Prowse <prowse@moonhenge.net>
Date: Mon, 12 Dec 2011 16:31:16 +0100
Message-ID: <4EE61E44.9030800@moonhenge.net>
To: www-style@w3.org
CC: "L. David Baron" <dbaron@dbaron.org>
On 25/10/2011 06:12, L. David Baron wrote:
> The "Computed value:" line in
> http://www.w3.org/TR/CSS21/fonts.html#propdef-font-weight says "see
> text", but nothing in the text explicitly says how to find the
> computed value.  (I think it used to, but the section that did was
> thankfully removed.)
>
> I believe that the computed value for 'font-weight' should be
> described as a number in 100, 200, 300, ... 900, such that:
>   * normal computes to 400
>   * bold computes to 700
>   * bolder and lighter compute according to the table given in the
>     prose

This looks right.  I'm noting this for errata.

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Monday, 12 December 2011 15:31:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:47 GMT