margin-collapse-108 makes invalid assumptions about rounding

http://test.csswg.org/suites/css2.1/20101001/html4/margin-collapse-108.htm
http://test.csswg.org/suites/css2.1/20101001/xhtml1/margin-collapse-108.xht
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.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Saturday, 16 October 2010 00:58:47 UTC