diff --git a/layout/html/tests/table/collapsing_borders/bug41262-1.html b/layout/html/tests/table/collapsing_borders/bug41262-1.html new file mode 100644 index 00000000000..7b9d5a0cbae --- /dev/null +++ b/layout/html/tests/table/collapsing_borders/bug41262-1.html @@ -0,0 +1,49 @@ + + +Untitled + + + + + + + + + + + + +
foobar
foobar
+

+ + + + + + + +
foobar
foobar
+

+ + + + + + + +
foobar
foobar

diff --git a/layout/html/tests/table/collapsing_borders/bug41262-2.html b/layout/html/tests/table/collapsing_borders/bug41262-2.html new file mode 100644 index 00000000000..4236eb84030 --- /dev/null +++ b/layout/html/tests/table/collapsing_borders/bug41262-2.html @@ -0,0 +1,161 @@ + + +border-collapse testfiles + + + + +

border-collapse testfiles

+quirks mode +bugzilla testcases +worth reading + diff --git a/layout/html/tests/table/collapsing_borders/bug41262-3.html b/layout/html/tests/table/collapsing_borders/bug41262-3.html new file mode 100644 index 00000000000..c6ca52daa99 --- /dev/null +++ b/layout/html/tests/table/collapsing_borders/bug41262-3.html @@ -0,0 +1,108 @@ + + +Collapsing Border Test Case + + + + + +

Following table should have 6px solid blue border around cell 3, red 5px +solid border around the rest of table and green 4px solid border between cell 1 +and cell 2. The red border should override the green border around the cells +because it's thicker and the blue border should override the red border for the +same reason.

+ + + + + +
Cell #1Cell #2Cell #3
+

See 17.6.2 The +collapsing border model for following tests:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
123
456
789
101112
131415
+

This is an example rendering for the previous table from http://www.w3.org/TR/REC-CSS2/images/tbl-border-conflict.gif: +
[Example rendering from w3.org]

+

Following table should have 2px solid black line between rows. There should +be a total of two lines. There will be three lines if user agent doesn't support +tr:first-child.

+ + + + + + + + + + + + + +
abc
345
51213
diff --git a/layout/html/tests/table/collapsing_borders/bug41262-4.html b/layout/html/tests/table/collapsing_borders/bug41262-4.html new file mode 100644 index 00000000000..36a67f0f849 --- /dev/null +++ b/layout/html/tests/table/collapsing_borders/bug41262-4.html @@ -0,0 +1,26 @@ + + +borderCollapse + + + + + +
+
+ + + + + + + + + + +
EST9:00 a.m.
CST8:00 a.m.
PST6:00 a.m.
+

+

diff --git a/layout/html/tests/table/collapsing_borders/bug41262-5.html b/layout/html/tests/table/collapsing_borders/bug41262-5.html new file mode 100644 index 00000000000..4500b9c6b18 --- /dev/null +++ b/layout/html/tests/table/collapsing_borders/bug41262-5.html @@ -0,0 +1,40 @@ + + +rules Property + + + +
+ + + + + + + + + + + + + + + + + + + +
EST1am8pm
CST2am9pm
MST3am10pm
PST4am11pm
+


diff --git a/layout/html/tests/table/collapsing_borders/bug41262-6.html b/layout/html/tests/table/collapsing_borders/bug41262-6.html new file mode 100644 index 00000000000..8ed79a7dbb4 --- /dev/null +++ b/layout/html/tests/table/collapsing_borders/bug41262-6.html @@ -0,0 +1,40 @@ + + +RULES with BORDER property + + + +
+ + + + + + + + + + + + + + + + + + + +
EST1am8pm
CST2am9pm
MST3am10pm
PST4am11pm
+


diff --git a/layout/html/tests/table/images/tbl-border-conflict.gif b/layout/html/tests/table/images/tbl-border-conflict.gif new file mode 100644 index 00000000000..fc5d001e753 Binary files /dev/null and b/layout/html/tests/table/images/tbl-border-conflict.gif differ