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

RE: [css3-fonts] Nested 'bolder' and 'lighter' question

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Wed, 27 Aug 2008 13:31:35 -0700
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <BE26041DBCC7014FA41031200B9AD9C756DC040ECF@NA-EXMSG-C104.redmond.corp.microsoft.com>


> > Given
> >
> >   <a>
> >     Text A
> >     <b style="font-weight: bolder">
> >       Text B
> >       <c style="font-weight: bolder">
> >         Text C
> >         <d style="font-weight: lighter">
> >           Text D
> >         </d>
> >       </c>
> >     </b>
> >   </a>
> >
> > If you have three different weights in your font (normal, bold,
> > extra-bold) then
> >   - Text A will be normal
> >   - Text B will be bold
> >   - Text C will be extra-bold
> >   - Text D will be bold
> >
> > If you have only two weights in your font (normal, bold) then
> >   - Text A will be normal
> >   - Text B will be bold
> >   - Text C will be bold
> >
> > What should Text D be? Bold or normal

>From CSS 2.1 15.6 Font boldness, I would have expected bold i.e. :

Normal weight -> 100,200,300,400,500
Bold weight -> 600,700,800,900

Assuming a's font-weight is 400 then :

b -> 700
c -> 800
d -> 700

Note that I am not necessarily saying this is the right way to do it or my own preference. But this is how I understand the specification's prose in this case.
Received on Wednesday, 27 August 2008 20:32:20 GMT

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