[RC2] separated-borders-model-007

http://test.csswg.org/suites/css2.1/20101001/html4/separated-borders-model-007.htm

> (...) Moreover, this test seems to depend
> on
> the HTML 'rules' attribute mapping to/interacting with CSS rules in a
> certain unspecified way

Řyvind,

It seems you added that testcase in the open issues wiki webpage[1],
under the section "Tests relying on non-normative behavior". I assure
that separated-borders-model-007 testcase is sound and correct.

"In this [border-collapse: separate] model, each cell has an individual
border."
http://www.w3.org/TR/CSS21/tables.html#separated-borders

"all: Rules will appear between all rows and columns."
http://www.w3.org/TR/html4/struct/tables.html#adef-rules

This was discussed before, in many places...

At the www-style mailing list [2], in bug 409470 at connect IE beta
feedback, in bug 155507[2] at bugzilla.mozilla.org, in bug 43178[3] at
bugzilla.mozilla.org.

There is a consensus to implement rules as
table[rules]:not([rules="all"]) {border-collapse:collapse;} ,
assuming that border-collapse: separate is the initial value.
There is no contradication between rules="all" and 'border-collapse:
separate'.

> (Opera currently applies the horizontal rules to
> the <tr>s for instance

I even filed a bug on rules="none" [5] at Opera, years ago (bug 214944
in Opera BTS) and it's still happening in Opera 10.63.

There is no contradication between rules="none" and 'border-collapse:
separate'.

[1]
http://wiki.csswg.org/test/css2.1/issues#tests-that-are-wrong-or-have-parse-errors
[2] http://lists.w3.org/Archives/Public/www-style/2009May/0006.html
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=155507
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=43178
[5]
http://www.gtalbot.org/BrowserBugsSection/Opera10Bugs/Opera7RulesNoneIgnored.html

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

CSS 2.1 test suite (RC2; October 1st 2010):
http://test.csswg.org/suites/css2.1/20101001/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Wednesday, 13 October 2010 06:45:31 UTC