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

border-bottom-width-083/084 assume space in default font is 4px wide

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Oct 2010 00:44:32 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101014074432.GA20136@pickering.dbaron.org>

These tests assume that a space in the default font is 4 pixels
wide.  In Firefox on Linux, it appears to be 5 pixels wide, and
therefore the tests have a one-pixel-wide column of red at the left

To explain in a drop more detail, since it wasn't immediately
obvious:  the test consists of two 96px by 96px (really 1in by 1in,
and the test suite assumes 96dpi) inline-blocks, separated by a
space.  The second has margin-left: -100px to cause them to overlap,
but this only works if a space in the default font is 4px wide.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 14 October 2010 07:45:01 UTC

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