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.

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 November 2010 21:36:24 GMT