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

margin-collapse-108 makes invalid assumptions about rounding

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 15 Oct 2010 17:58:19 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101016005819.GA10255@pickering.dbaron.org>
assume that a border of width 0.04px will not show up.  We've
found that a Web-compatible behavior for border rounding is to round
border widths between 0px and 1px up, and others down.  This does
not disagree with CSS 2.1, and therefore the test is invalid.

I suggest replacing the border-top with a padding-top, which I
suspect would fix the problem in all user agents although, strictly
speaking, not required by CSS.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 16 October 2010 00:58:47 UTC

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