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

On Thursday 2008-08-28 12:32 -0700, Sylvain Galineau wrote:
> So is the issue that the spec handles fonts with 3+ weights but not 2 ?
> Or does it have an answer for this case but we do not like the answer ?

The number of weights you need for ambiguity to arise depends on the
testcase and the particular weights.  The examples given were

> Fwiw, I think the bolder==+1, lighter==-1 interpretations
> generally align with what is already in CSS 2.1 15.6. If the
> font's two weights are mapped to two subsets of the 100-900 weight
> range per the spec, the end result will be equivalent.

15.6 contains some contradictory statements as a result of previous
edits [1] which were themselves needed to resolve existing
contradictions.  See (and note that what
we're discussing is issue 49).

> Specifying a different outcome means special-casing fonts with two
> weights, so that if the UA were to fall back to such a font,
> 'boldness' may be distributed differently. (Or vice-versa, if the
> UA fell back from a 2-weight font to a 3-weight one).

It has nothing to do with special casing certain numbers of weights.
A particular testcase that shows the problem may be specific to a
certain number of weights, but the problem is general.


[1] compare and ,
    derived from proposal at
    which is unfortunately member-only

L. David Baron                       
Mozilla Corporation             

Received on Thursday, 28 August 2008 19:49:07 UTC