Unspecified line-height may cause issues with reftests: eg anonymous-boxes-inheritance-001

Hello,

Some testcases do not define line-height when setting font-size and this
could lead to problems if reftests are made for these.

font: 1in Ahem;

could be using a 1 to 1.2 line-height value which could create
differences in testcases, namely tiny-but-noticeable-by-softwares gaps.

One example:
[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/anonymous-boxes-inheritance-001.htm

Firefox 8.0 will render a tiny white gap between the blue and orange
squares.

Firefox 8.0 uses a line-height of 97px (btw, I have no idea where such
value comes from) but it could have been 96px or 96 mult by 1.1
(~=106px) or 1.2 (~=115px) as well, therefore creating bigger vertical
gaps.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Sunday, 27 November 2011 03:13:20 UTC