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

line-height-014 is invalid

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 15 Oct 2010 17:03:55 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101016000355.GA9910@pickering.dbaron.org>
These tests:
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


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 16 October 2010 00:04:23 UTC

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