Re: [RC6] border conflict width: testing 'none' and 'hidden' versus narrower borders

Le Ven 25 novembre 2011 1:29, Lachlan Hunt a écrit :
> On 2011-11-23 20:57, "Gérard Talbot" wrote:
>> Hello Arron and Lachlan,
>>
>> Several tests, listed below, suggest (in their title and/or in their
>> meta assert) that the wider border wins over narrower border even when
>> 'border-style: none' and 'border-style: hidden' are involved ... which
>> is not true. Even a 'border: red hidden 0px' should always prevail
>> over
>> any other borders. Even a 'border: red none 100px' should always lose
>> over any non-zero narrow border.
>>
>> Border conflict resolution where wider border wins over narrower
>> border
>> is true only when border-style 'hidden' or 'none' is not involved
>> between 2 borders.
>>
>> Lachlan testcases (25 testcases)
>> -----------------
>>
>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/border-conflict-w-001.htm
>>
>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/border-conflict-w-002.htm
>> ...
>
> I don't understand what you mean.  The title isn't meant to suggest
> which border wins.  It's only an indication of the part of the algorithm
> is being tested.

I thought this was not clear. Each and all of the border-conflict-w-0??
testcases have in their title "Border Conflict Resolution (width) -
[border-style]/[border-style]".

In border-conflict-w-001, 'hidden' wins (and always should win) over
'double' (or any other 'border-style') regardless of 'border-width'
values of respective collapsing cells.

In border-conflict-w-091, 'none' loses (and always should lose) over
'double' (or any other 'border-style') regardless of 'border-width'
values of respective collapsing cells. Same thing with 092, 093, 094,
095, 097 and 098 testcases.

> The pass conditions in each of the tests indicates
> which border should win, and they seem to be correct.

They all seem to be correct to me too.

regards, 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 Friday, 25 November 2011 20:11:18 UTC