W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2012

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 9 Apr 2012 21:26:54 -0400
Message-ID: <4efc2ebc264563d171e8caa1a3a7542c.squirrel@ed-sh-cp3.entirelydigital.com>
To: "fantasai" <fantasai.lists@inkedblade.net>
Cc: public-css-testsuite@w3.org

Le Mar 23 novembre 2010 17:35, fantasai a écrit :
> 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

I think those 3 tests should be removed. Those tests are actually
testing something (what's the computed value of
height|border-bottom|padding-bottom when specified with the value
0.04px) which is outside the realm of the CSS 2.1 spec.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Tuesday, 10 April 2012 01:27:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 10 April 2012 01:27:42 GMT