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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 24 Oct 2011 21:12:43 -0700
To: www-style@w3.org
Message-ID: <20111025041243.GA327@pickering.dbaron.org>
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

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Tuesday, 25 October 2011 04:13:14 GMT

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