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

empty-cells-applies-to-001 isn't quite a box

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Oct 2010 15:25:32 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101014222532.GA27800@pickering.dbaron.org>
The black area in these tests:
http://test.csswg.org/suites/css2.1/20101001/html4/empty-cells-applies-to-001.htm
http://test.csswg.org/suites/css2.1/20101001/xhtml1/empty-cells-applies-to-001.xht
isn't quite a box, depending on the font metrics of the default
font, because the white "X" in the cell below protrudes slightly
into the overhanging border of the inline.  (The border on the
inline makes its border-box significantly taller than its
line-height for typical values of 'normal' line-height.)

There are a number of possible fixes.  A reasonably simple and
obvious one is increasing the height of the divs from 1em to 2em.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 14 October 2010 22:26:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 October 2010 22:26:11 GMT