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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 23 Nov 2010 13:35:30 -0800
Message-ID: <4CEC33A2.8000200@inkedblade.net>
To: Geoffrey Sneddon <gsneddon@opera.com>
CC: "L. David Baron" <dbaron@dbaron.org>, public-css-testsuite@w3.org
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.


Let me know if this works for you.

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

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