line-height-014 is invalid

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.

-David

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

Received on Saturday, 16 October 2010 00:04:23 UTC