Re: margin-collapse-108 makes invalid assumptions about rounding

On 10/16/2010 12:38 PM, Geoffrey Sneddon wrote:
> On 16/10/10 01:58, L. David Baron wrote:
>> 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.
>
> margin-collapse-107 and margin-collapse-109 are invalid as they also rely
> upon rounding behaviour.

I've fixed the tests by adding the 0.04px to the control, altering the colors,
and making the control less dependent on correct margin-collapsing behavior.

http://test.csswg.org/source/contributors/hixie/submitted/css2.1/visuren/margin-collapse-107.xht
http://test.csswg.org/source/contributors/hixie/submitted/css2.1/visuren/margin-collapse-108.xht
http://test.csswg.org/source/contributors/hixie/submitted/css2.1/visuren/margin-collapse-109.xht

Let me know if this works for you.

~fantasai

Received on Tuesday, 23 November 2010 21:36:14 UTC