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

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

From: Brad Kemper <brkemper.comcast@gmail.com>
Date: Wed, 27 Aug 2008 12:22:43 -0700
Message-Id: <51F2B175-0F4F-4E95-BC98-AE45F95269C5@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>

On Aug 27, 2008, at 11:23 AM, fantasai <fantasai.lists@inkedblade.net>  
wrote:

>
> The spec isn't clear on what exactly happens here, so the CSSWG
> decided to ask web designers what they expect. So far I have two
> responses and they don't match. Anyone else have an opinion? :)
>
> fantasai wrote:
>> 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?
>
> I would say bold, if I were being so bold. -- Andy Clarke
>
> I say it goes to normal. -- Molly Holzschlag
>
> ~fantasai

This looks to me like a good reason not to use bolder and lighter.  
That said, it seems clear that the author intended the four weights in  
the four places listed first. The one that failed was the extrabold of  
C. That should not also cause the intended bold of D to fail too. The  
UA should not try to determine if D<C is more important to this  
particular author than D=B, but rather just limit the damage to C  
being  not really bold enough.

So I would say D=bold. 
    
Received on Wednesday, 27 August 2008 19:24:55 GMT

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