W3C home > Mailing lists > Public > www-style@w3.org > November 2011

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 26 Nov 2011 19:12:49 -0800
Message-ID: <d49da17ade0917904dd630f1d3e2326b.squirrel@gtalbot.org>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "W3C www-style mailing list" <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:06 UTC