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

> > 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 UTC