W3C home > Mailing lists > Public > www-style@w3.org > August 2008

Re: [CSS21] computed value of 'font-weight' is not precisely defined

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 22 Aug 2008 00:10:27 +0100
Message-ID: <48ADF5E3.1030304@inkedblade.net>
To: www-style@w3.org

L. David Baron wrote:
> CSS 2.1 added the following text:
>   # The computed value of "font-weight" is either:
>   #
>   #    * one of the legal number values, or
>   #    * one of the legal number values combined with one or more of
>   #      the relative values (bolder or lighter). This type of
>   #      computed values is necessary to use when the font in
>   #      question does not have all weight variations that are
>   #      needed.
> http://www.w3.org/TR/2007/CR-CSS21-20070719/fonts.html#font-boldness
> This text doesn't say what specified values lead to these computed
> values.  It is, in fact, ambiguous, and could lead to two different
> sets of results, as explained below.

The CSSWG decided not to define this in CSS2.1, and I was given an
action item to write a note that basically says that. Here's a
proposed note:

   Note: A set of nested elements that mix 'bolder' and 'lighter' will
   give unpredictable results depending on the UA, OS, and font
   availability. This behavior will more precisely defined in CSS3.

Received on Thursday, 21 August 2008 23:11:00 GMT

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