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

8 questionable border-style conflict resolution testcases in collapsing border model (Section 17.6.2.1)

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 13 Sep 2010 16:47:50 -0700
Message-ID: <8d347c9b05a7f487ba6ce7c4bc884ddd.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Cc: "Arron Eicholz" <arron.eicholz@microsoft.com>
Hello,

1-
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-style-045.htm

"
Border Conflict Resolution (by border style): 'hidden' vs. 'hidden' -
border with highest priority border style should dominate
 * The 'hidden' border collapsed with a 'hidden' border yields no border.
"

Such testcase can not fail and does not test what it is supposed to
test: which is conflicting border styles at a cell edge ... and there is
no border-style conflict in that test.


2-
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-style-047.htm

"
Border Conflict Resolution (by border style): 'hidden' vs. 'none' -
border with highest priority border style should dominate
 * A 'hidden' border collapsed with a 'none' border yields no border.
"

Such testcase can not fail (if 'border-style: none' and 'border-style:
hidden' taken individually in 2 testcases show that they are properly
implemented) and can not be verified to pass either. Border: none and
border: hidden: how do you know which border-style won out of the
conflict? How can the test indicate that 'border: hidden' actually had
priority over 'border: none' or vice versa? It's impossible to say...
and the test is suppose to test resolution of border conflicts.

When testing a browser, let's say a medium black border appears in
#center cell of that border-conflict-style-047.htm testcase: then you
still can not and could not and would not know which of the 2
border-style has not been properly implemented.
I question the relevance of such testcase.

3-
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-style-065.htm

CSS Test: Border Conflict Resolution (by border style): 'none' vs.
'hidden' - border with highest priority border style should dominate

Again, this testcase's relevance is debattable.
Also, there is no #table1 anywhere in the markup.

4-
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-style-067.htm

CSS Test: Border Conflict Resolution (by border style): 'none' vs.
'none' - border with highest priority border style should dominate

No border-style conflict in that testcase.

5-
hidden versus hidden but with conflicting border-width

http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-width-045.htm


6-
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-width-047.htm

Definitely questionable testcase.

7-
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-width-065.htm

8-
none versus none but with conflicting border-width

http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-width-067.htm

I would not be surprised if there were other testcases like that. Some of
Lachlan Hunt testcases in section 17.6.2.1
http://test.csswg.org/suites/css2.1/20100815/html4/chapter-17.html#s17.6.2.1
look at first as not very relevant or very useful

e.g:
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-w-000.htm
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-w-009.htm
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-w-090.htm
http://test.csswg.org/suites/css2.1/20100815/html4/border-conflict-w-099.htm
etc.

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

CSS 2.1 test suite (beta 3; August 15th 2010):
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Monday, 13 September 2010 23:48:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:03 GMT