c43-rpl-bbx-002 assumes line-height 'normal' == '1'

On Thursday 2010-10-14 02:31 -0700, L. David Baron wrote:
> These tests:
> http://test.csswg.org/suites/css2.1/20101001/xhtml1/c43-center-000.xht
> http://test.csswg.org/suites/css2.1/20101001/html4/c43-center-000.htm
> assume that 'line-height: normal' is the same as 'line-height: 1',
> which is not required to be the case.
> 
> I suggest replacing:
>    .c     { text-align: center; font: 15px Ahem; color: blue; }
> with:
>    .c     { text-align: center; font: 15px/1.0 Ahem; color: blue; }
> to make the test valid.

c43-rpl-bbx-002 has the same problem.

(In that test, there's also something weird about the rasterization
of the Ahem font at size 64px and a few other sizes, but that's
probably our bug or a platform bug.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Thursday, 14 October 2010 18:19:44 UTC