W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

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

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Oct 2010 11:19:15 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101014181915.GA25956@pickering.dbaron.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 October 2010 18:19:52 GMT