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

On Aug 29, 2008, at 8:48 AM, Bert Bos wrote:
>  * 'bolder' selects the next weight that is assigned to a font that is
>    darker than the *parent's weight* [was: inherited one]. If there is
>    no such weight, it simply results in the next darker numerical value
>    [remove: (and the font remains unchanged)], unless the inherited
>    value was '900' in which case the resulting weight is also '900'.

Won't this mean that if we're at 900 and then do bolder and then do 
lighter we'll end up at 800?  That doesn't match what happens when we're 
at 800 to start with, and I'm not sure the inconsistency is desirable.

It would possibly make more sense to allow specified font-weight to be 
100-900, computed font-weight to be any integer multiple of 100, and 
used font-weight to clamp computed to 100-900.


Received on Friday, 29 August 2008 16:51:54 UTC