From a50ea450f9622bf9f9b415c3ea012b35d72d23c8 Mon Sep 17 00:00:00 2001 From: "karnaze%netscape.com" Date: Fri, 10 Sep 1999 19:10:46 +0000 Subject: [PATCH] new regression tests --- layout/html/tests/table/bugs/bug7121-1.html | 110 ++++++++++++++++++++ layout/html/tests/table/bugs/bug7121-2.html | 15 +++ layout/html/tests/table/bugs/file_list.txt | 2 + 3 files changed, 127 insertions(+) create mode 100644 layout/html/tests/table/bugs/bug7121-1.html create mode 100644 layout/html/tests/table/bugs/bug7121-2.html diff --git a/layout/html/tests/table/bugs/bug7121-1.html b/layout/html/tests/table/bugs/bug7121-1.html new file mode 100644 index 00000000000..2187b7b1a72 --- /dev/null +++ b/layout/html/tests/table/bugs/bug7121-1.html @@ -0,0 +1,110 @@ + + + + +

In this table (modeled after mozilla.org template) the cells in +column two are requesting colspans of (2,3,2,6) respectively. Notice +that they all want to span more than one column (which means, in the case of +this table, all rows are requesting to span more columns than the +number of 'real' <TD> in any single rows [i.e., all rows in the top +table want to +span 9 cells, but the maximum number of <TD> in any row is +8].

This condition leads to the 'white gap' (in builds of 5.0 for jun04 and before).

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
12456789
1256789
1245689
178
+ +

This is the same table as above, but instead the cells in column two +are requesting colspans of (1,2,1,5) respectively (i.e., excess requests have +been 'normalized' away). There is no more 'white gap'.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
12345678
1245678
1234578
167
+ + + diff --git a/layout/html/tests/table/bugs/bug7121-2.html b/layout/html/tests/table/bugs/bug7121-2.html new file mode 100644 index 00000000000..e3136252a8a --- /dev/null +++ b/layout/html/tests/table/bugs/bug7121-2.html @@ -0,0 +1,15 @@ + + + + + + +
+
+
+ + Copyright © 1998-1999 The Mozilla Organization. + + +
+
diff --git a/layout/html/tests/table/bugs/file_list.txt b/layout/html/tests/table/bugs/file_list.txt index 52b728c5521..4503d6fdc45 100644 --- a/layout/html/tests/table/bugs/file_list.txt +++ b/layout/html/tests/table/bugs/file_list.txt @@ -95,6 +95,8 @@ 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/bug6933.html file:///s:/mozilla/layout/html/tests/table/bugs/bug709.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug7121-1.html +file:///s:/mozilla/layout/html/tests/table/bugs/bug7121-2.html file:///s:/mozilla/layout/html/tests/table/bugs/bug7243.html file:///s:/mozilla/layout/html/tests/table/bugs/bug727.html file:///s:/mozilla/layout/html/tests/table/bugs/bug7342.html