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

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 UTC