diff --git a/layout/html/tests/table/bugs/bug10565.html b/layout/html/tests/table/bugs/bug10565.html new file mode 100644 index 000000000000..4bbc1950f99f --- /dev/null +++ b/layout/html/tests/table/bugs/bug10565.html @@ -0,0 +1,19 @@ + + +simplified "image/spacer image/image" table row testcase + + + + +

Using a 10px wide transparent gif with td width="10" in the middle column...

+ + + + + + + +
+ + + diff --git a/layout/html/tests/table/bugs/bug11331.html b/layout/html/tests/table/bugs/bug11331.html new file mode 100644 index 000000000000..d49caf0b56a8 --- /dev/null +++ b/layout/html/tests/table/bugs/bug11331.html @@ -0,0 +1,23 @@ + +Testcase for bug 11331 + +

In the yellow table the "W" is clipped on its left edge.
+The only difference is that:
+ yellow table has CELLPADDING="0"
+ grey table has CELLPADDING="1". + + + + + +
Online Web-Store
+ + + + + +
Online Web-Store
+ + + + diff --git a/layout/html/tests/table/bugs/bug4849.html b/layout/html/tests/table/bugs/bug4849.html new file mode 100644 index 000000000000..616025932199 --- /dev/null +++ b/layout/html/tests/table/bugs/bug4849.html @@ -0,0 +1,23 @@ + + + + + + + + + + + +
+ 150 pixels wide + + + + 449 pixels wide +
+ Bottom cell, 600 pixels wide + +
+ + diff --git a/layout/html/tests/table/bugs/bug5538.html b/layout/html/tests/table/bugs/bug5538.html new file mode 100644 index 000000000000..fc3e235891a1 --- /dev/null +++ b/layout/html/tests/table/bugs/bug5538.html @@ -0,0 +1,35 @@ + +Testcase for bug 5538 - distilled from www.fool.com + +

Testcase for bug 5538 - distilled from www.fool.com

+ + + + + + +
+ + + + + +
+ +

When removing <A HREF="..."> surrounding logo image in first row and
+removing <MAP> element in second row it looks OK to me:

+ + + + + + +
+ + + + + +
+ + diff --git a/layout/html/tests/table/bugs/bug6674.html b/layout/html/tests/table/bugs/bug6674.html new file mode 100644 index 000000000000..c81949a664ae --- /dev/null +++ b/layout/html/tests/table/bugs/bug6674.html @@ -0,0 +1,26 @@ + + +Overflow in Tables + + + + + + + + + +
+
+ Truncated? It should not be! +
+
+ +

According to the rules of CSS, the text above should spill right out of the +table, as it does in the table-less case below:

+ +
+ Truncated? It should not be! +
diff --git a/layout/html/tests/table/bugs/bug8499.html b/layout/html/tests/table/bugs/bug8499.html new file mode 100644 index 000000000000..61f8d0fb5185 --- /dev/null +++ b/layout/html/tests/table/bugs/bug8499.html @@ -0,0 +1,93 @@ + + +

This table contains an <applet> that will not load -- you can see +the space get allocated and then reflow. Notice that the final table is clipped +on the right hand side -- try shrinking the window and notice how the clipping +increases. (I couldn't really simplify this further without losing some of the +original 'flavour'.)

+
+ + + + + +
+ + + + + + + + + + + +
+
+ + + +
+

The Porto Elounda Mare is built on the sea front, on a 110,000 m2 + plot of land with a 150 meter long private sandy beach. The view from + decorated with antique and contemporary furniture and rugs.

+
+ + + + + + + + +
99 Rates in Drahmas Per Person on H/B Basis27/03 - 30/04
16/10 - 31/10
01/5- 21/5 & 2/10 - 15/1022/5 - 16/07
28/8 - 01/10
17/07 - 27/8
+
+ + +
+ +
+

This table repeats the previous table, but removes the 'bad applet'. +Table lays out OK.

+
+ + + + + +
+ + + + + + + + + + + +
+
+ applet was here +
+

The Porto Elounda Mare is built on the sea front, on a 110,000 m2 + plot of land with a 150 meter long private sandy beach. The view from + decorated with antique and contemporary furniture and rugs.

+
+ + + + + + + + +
99 Rates in Drahmas Per Person on H/B Basis27/03 - 30/04
16/10 - 31/10
01/5- 21/5 & 2/10 - 15/1022/5 - 16/07
28/8 - 01/10
17/07 - 27/8
+
+ + +
+ + \ No newline at end of file diff --git a/layout/html/tests/table/bugs/bug9072.html b/layout/html/tests/table/bugs/bug9072.html new file mode 100644 index 000000000000..8579dd122819 --- /dev/null +++ b/layout/html/tests/table/bugs/bug9072.html @@ -0,0 +1,7 @@ +cell where width=1 + + + + +
Blah Blah
+
diff --git a/layout/html/tests/table/bugs/bug9123-1.html b/layout/html/tests/table/bugs/bug9123-1.html new file mode 100644 index 000000000000..0afd0925aae1 --- /dev/null +++ b/layout/html/tests/table/bugs/bug9123-1.html @@ -0,0 +1,78 @@ + + + + + +

+Here's the structure of the problem table (which usually begins with +'N E W S H E A D L I N E S').
+This table is width 100%; two rows; three columns;
+The first row: widths 15, 125, 15 ... The second row: widths 15, 100%, 15 +

+ + + + + + + + + + + + + + + + + + +
+that +
+ +

+Here's the first row in a table on its own. +This table is width 100%; one rows; three columns; +This row: widths 15, 125, 15 +

+ + + + + + + + + +
+ +

+Here's the second row in a table on its own. +This table is width 100%; one rows; three columns; +This row: widths 15, 100%, 15 +

+ + + + + + + + + + + + +
+that +
+ +

+Note that in Nav4.x, the middle column gets the width of the maximum width cell in the column; +on 5.0, the middle column gets the opposite treatment. +

+ + + + diff --git a/layout/html/tests/table/bugs/bug9123-2.html b/layout/html/tests/table/bugs/bug9123-2.html new file mode 100644 index 000000000000..5786574de889 --- /dev/null +++ b/layout/html/tests/table/bugs/bug9123-2.html @@ -0,0 +1,56 @@ + + + + + +

+Here's the same two row table, but the second instance reverses the order of +the rows: note that it is the first row that defines the width (which would +be right if this were table-layout: fixed ;-) +

+ + + + + + + + + + + + + + + + + + + +
+that +
+
+ + + + + + + + + + + + + + + + + +
+that +
+ + + diff --git a/layout/html/tests/table/bugs/file_list.txt b/layout/html/tests/table/bugs/file_list.txt index 0cbad0a6d771..e9df539fa9a7 100644 --- a/layout/html/tests/table/bugs/file_list.txt +++ b/layout/html/tests/table/bugs/file_list.txt @@ -7,12 +7,14 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug1055-1.html file:///s:/mozilla/layout/html/tests/table/bugs/bug1055-2.html file:///s:/mozilla/layout/html/tests/table/bugs/bug10036.html file:///s:/mozilla/layout/html/tests/table/bugs/bug10039.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug10565.html # file:///s:/mozilla/layout/html/tests/table/bugs/bug10633.html file:///s:/mozilla/layout/html/tests/table/bugs/bug1067-1.html file:///s:/mozilla/layout/html/tests/table/bugs/bug1067-2.html file:///s:/mozilla/layout/html/tests/table/bugs/bug11026.html file:///s:/mozilla/layout/html/tests/table/bugs/bug1128.html file:///s:/mozilla/layout/html/tests/table/bugs/bug11321.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug11331.html file:///s:/mozilla/layout/html/tests/table/bugs/bug1163-1.html file:///s:/mozilla/layout/html/tests/table/bugs/bug1164.html file:///s:/mozilla/layout/html/tests/table/bugs/bug1188.html @@ -111,8 +113,11 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug4523.html # file:///s:/mozilla/layout/html/tests/table/bugs/bug4576.html file:///s:/mozilla/layout/html/tests/table/bugs/bug4739.html file:///s:/mozilla/layout/html/tests/table/bugs/bug4803.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug4849.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug4849-2.html # file:///s:/mozilla/layout/html/tests/table/bugs/bug5188.html # file:///s:/mozilla/layout/html/tests/table/bugs/bug5797.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug5538.html file:///s:/mozilla/layout/html/tests/table/bugs/bug5798.html file:///s:/mozilla/layout/html/tests/table/bugs/bug5799.html # file:///s:/mozilla/layout/html/tests/table/bugs/bug5835.html @@ -124,6 +129,7 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug641-2.html file:///s:/mozilla/layout/html/tests/table/bugs/bug6404.html file:///s:/mozilla/layout/html/tests/table/bugs/bug647.html file:///s:/mozilla/layout/html/tests/table/bugs/bug650.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug6674.html # file:///s:/mozilla/layout/html/tests/table/bugs/bug6933.html # file:///s:/mozilla/layout/html/tests/table/bugs/bug709.html file:///s:/mozilla/layout/html/tests/table/bugs/bug7121-1.html @@ -136,8 +142,12 @@ file:///s:/mozilla/layout/html/tests/table/bugs/bug8032-1.html file:///s:/mozilla/layout/html/tests/table/bugs/bug8032-2.html file:///s:/mozilla/layout/html/tests/table/bugs/bug8361.html file:///s:/mozilla/layout/html/tests/table/bugs/bug8381.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug8499.html file:///s:/mozilla/layout/html/tests/table/bugs/bug8950.html file:///s:/mozilla/layout/html/tests/table/bugs/bug9024.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug9072.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug9123-1.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug9123-2.html file:///s:/mozilla/layout/html/tests/table/bugs/bug963.html file:///s:/mozilla/layout/html/tests/table/bugs/bug965.html file:///s:/mozilla/layout/html/tests/table/bugs/bug16252.html diff --git a/layout/html/tests/table/images/15.gif b/layout/html/tests/table/images/15.gif new file mode 100644 index 000000000000..4ffd581bdb73 Binary files /dev/null and b/layout/html/tests/table/images/15.gif differ diff --git a/layout/html/tests/table/images/gray.gif b/layout/html/tests/table/images/gray.gif new file mode 100644 index 000000000000..e4c96cf51e9b Binary files /dev/null and b/layout/html/tests/table/images/gray.gif differ diff --git a/layout/html/tests/table/images/left_menu_bottom2.gif b/layout/html/tests/table/images/left_menu_bottom2.gif new file mode 100644 index 000000000000..fdf239fde538 Binary files /dev/null and b/layout/html/tests/table/images/left_menu_bottom2.gif differ diff --git a/layout/html/tests/table/images/logosummer.gif b/layout/html/tests/table/images/logosummer.gif new file mode 100644 index 000000000000..23786838663f Binary files /dev/null and b/layout/html/tests/table/images/logosummer.gif differ diff --git a/layout/html/tests/table/images/topnavfeatures.gif b/layout/html/tests/table/images/topnavfeatures.gif new file mode 100644 index 000000000000..ffff00123005 Binary files /dev/null and b/layout/html/tests/table/images/topnavfeatures.gif differ diff --git a/layout/html/tests/table/images/topnavlogin.gif b/layout/html/tests/table/images/topnavlogin.gif new file mode 100644 index 000000000000..ef02bc4c50b7 Binary files /dev/null and b/layout/html/tests/table/images/topnavlogin.gif differ diff --git a/layout/html/tests/table/images/topnavregister2.gif b/layout/html/tests/table/images/topnavregister2.gif new file mode 100644 index 000000000000..d920d0c2af64 Binary files /dev/null and b/layout/html/tests/table/images/topnavregister2.gif differ diff --git a/layout/html/tests/table/images/trout.gif b/layout/html/tests/table/images/trout.gif new file mode 100644 index 000000000000..14be1da38af2 Binary files /dev/null and b/layout/html/tests/table/images/trout.gif differ diff --git a/layout/html/tests/table/images/w.gif b/layout/html/tests/table/images/w.gif new file mode 100644 index 000000000000..0367b9c83ddb Binary files /dev/null and b/layout/html/tests/table/images/w.gif differ