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

RE: line-height-014 is invalid

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Thu, 2 Dec 2010 02:27:41 +0000
To: "L. David Baron" <dbaron@dbaron.org>, "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <07349ECFC3608F48BC3B10459913E70B102F9327@TK5EX14MBXC140.redmond.corp.microsoft.com>
On Friday, October 15, 2010 5:04 PM, L. David Baron wrote:
> These tests:
> http://test.csswg.org/suites/css2.1/20101001/html4/line-height-014.htm
> http://test.csswg.org/suites/css2.1/20101001/xhtml1/line-height-014.xht
> are invalid because of rounding issues.
> They use a font-size of 16px and a line-height of 1.3333px, and assert that the
> top of the font in the first line and the bottom of the font in the next line are
> separated by 17px.  However, since CSS does not define rounding behavior,
> they could reasonably be separated by 18px.
> I'd recommend testing rounder values instead, or loosening the pass criteria.

Fixed, changed the font value to 20px.

Arron Eicholz
Received on Thursday, 2 December 2010 02:30:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:22 UTC