From 6178e7fca148ee18e46efe613c45f1f21ba4f580 Mon Sep 17 00:00:00 2001 From: "karnaze%netscape.com" Date: Mon, 18 Sep 2000 20:24:16 +0000 Subject: [PATCH] new regression tests, not affecting the build. git-svn-id: svn://10.0.0.236/trunk@79455 18797224-902f-48f8-a5cc-f745e15eee43 --- .../html/tests/table/bugs/bug27038-1.html | 35 ++++++ .../html/tests/table/bugs/bug27038-2.html | 48 +++++++ .../html/tests/table/bugs/bug27038-3.html | 43 +++++++ .../html/tests/table/bugs/bug30418.html | 62 +++++++++ .../html/tests/table/bugs/bug38916.html | 94 ++++++++++++++ .../html/tests/table/bugs/bug46924.html | 26 ++++ .../html/tests/table/bugs/file_list.txt | 6 + .../tests/table/interactive/bug47252.html | 119 ++++++++++++++++++ .../tests/table/interactive/bug52598.html | 17 +++ 9 files changed, 450 insertions(+) create mode 100644 mozilla/layout/html/tests/table/bugs/bug27038-1.html create mode 100644 mozilla/layout/html/tests/table/bugs/bug27038-2.html create mode 100644 mozilla/layout/html/tests/table/bugs/bug27038-3.html create mode 100644 mozilla/layout/html/tests/table/bugs/bug30418.html create mode 100644 mozilla/layout/html/tests/table/bugs/bug38916.html create mode 100644 mozilla/layout/html/tests/table/bugs/bug46924.html create mode 100644 mozilla/layout/html/tests/table/interactive/bug47252.html create mode 100644 mozilla/layout/html/tests/table/interactive/bug52598.html diff --git a/mozilla/layout/html/tests/table/bugs/bug27038-1.html b/mozilla/layout/html/tests/table/bugs/bug27038-1.html new file mode 100644 index 00000000000..d337714b0dd --- /dev/null +++ b/mozilla/layout/html/tests/table/bugs/bug27038-1.html @@ -0,0 +1,35 @@ + + + + +tfoot css + + + + + + + + + + + + + + + + + + + +
THEAD
TFOOT
TBODY
+ + + + diff --git a/mozilla/layout/html/tests/table/bugs/bug27038-2.html b/mozilla/layout/html/tests/table/bugs/bug27038-2.html new file mode 100644 index 00000000000..642956564d2 --- /dev/null +++ b/mozilla/layout/html/tests/table/bugs/bug27038-2.html @@ -0,0 +1,48 @@ + + +test a bug + + + +

TABLE 1 - without 'height' style on TABLE

+ + + + + + + + + + + + + + + + +
THEAD
TFOOT
TBODY
+ +
+

TABLE 2 - with 'height' style on TABLE

+ + + + + + + + + + + + + + + + +
THEAD
TFOOT
TBODY
+ + + + diff --git a/mozilla/layout/html/tests/table/bugs/bug27038-3.html b/mozilla/layout/html/tests/table/bugs/bug27038-3.html new file mode 100644 index 00000000000..ee66c79a916 --- /dev/null +++ b/mozilla/layout/html/tests/table/bugs/bug27038-3.html @@ -0,0 +1,43 @@ + + + +tfoot test + + + +
Font Size:6mm
+ + + + +
+
Table height at 24mm
+ + + + +
THEAD
TFOOT
TBODY
+
+
Table height at 25mm
+ + + + +
THEAD
TFOOT
TBODY
+
+ + diff --git a/mozilla/layout/html/tests/table/bugs/bug30418.html b/mozilla/layout/html/tests/table/bugs/bug30418.html new file mode 100644 index 00000000000..96cd60b6fd4 --- /dev/null +++ b/mozilla/layout/html/tests/table/bugs/bug30418.html @@ -0,0 +1,62 @@ + + + + + + + + diff --git a/mozilla/layout/html/tests/table/bugs/bug38916.html b/mozilla/layout/html/tests/table/bugs/bug38916.html new file mode 100644 index 00000000000..056ece31466 --- /dev/null +++ b/mozilla/layout/html/tests/table/bugs/bug38916.html @@ -0,0 +1,94 @@ + + +

IFRAME inside TFOOT

+ + + + + + + + + + + + + + + + + + + + +
A Cell + THEAD blah blah blah blah blah blah THEAD + A Cell
A Cell + + A Cell
A Cell + TBODY blah blah blah blah blah blah TBODY + A Cell
+ +

IFRAME inside TBODY

+ + + + + + + + + + + + + + + + + + + + +
A Cell + THEAD blah blah blah blah blah blah THEAD + A Cell
A Cell + TFOOT blah blah blah blah blah blah TFOOT + A Cell
A Cell + + A Cell
+ +

IFRAME inside THEAD

+ + + + + + + + + + + + + + + + + + + + +
A Cell + + A Cell
A Cell + TFOOT blah blah blah blah blah blah TFOOT + A Cell
A Cell + TBODY blah blah blah blah blah blah TBODY + A Cell
+ + + diff --git a/mozilla/layout/html/tests/table/bugs/bug46924.html b/mozilla/layout/html/tests/table/bugs/bug46924.html new file mode 100644 index 00000000000..628fb0bf177 --- /dev/null +++ b/mozilla/layout/html/tests/table/bugs/bug46924.html @@ -0,0 +1,26 @@ + + + + + + +
Buggy example: This table has a tfoot and a tbody
+ + + +
This is the footer
This row should be in the (grey) table body

+
For comparision: The same table without a tfoot
+ + + +
This row should be in the (grey) table body
+
ILLEGAL example: TFOOT after TBODY -- THIS IS PROHIBITED BY HTML 4.01 STRICT AND SHOULD NOT WORK IN STRICT MODE. Please fix or reenable transitional mode.
+ + + +
This row should be in the (grey) table body
This is the footer

+ + diff --git a/mozilla/layout/html/tests/table/bugs/file_list.txt b/mozilla/layout/html/tests/table/bugs/file_list.txt index 9c946d33f9d..700e284f119 100644 --- a/mozilla/layout/html/tests/table/bugs/file_list.txt +++ b/mozilla/layout/html/tests/table/bugs/file_list.txt @@ -139,6 +139,9 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug2585.html #file:///s|/mozilla/layout/html/tests/table/bugs/bug26193.html file:///s|/mozilla/layout/html/tests/table/bugs/bug26553.html file:///s|/mozilla/layout/html/tests/table/bugs/bug2684.html +file:///s|/mozilla/layout/html/tests/table/bugs/bug27038-1.html +file:///s|/mozilla/layout/html/tests/table/bugs/bug27038-2.html +file:///s|/mozilla/layout/html/tests/table/bugs/bug27038-3.html file:///s|/mozilla/layout/html/tests/table/bugs/bug2757.html file:///s|/mozilla/layout/html/tests/table/bugs/bug2763.html file:///s|/mozilla/layout/html/tests/table/bugs/bug2773.html @@ -164,6 +167,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug30332-1.html file:///s|/mozilla/layout/html/tests/table/bugs/bug30332-2.html #file:///s|/mozilla/layout/html/tests/table/bugs/bug3037-1.html file:///s|/mozilla/layout/html/tests/table/bugs/bug3037-2.html +file:///s|/mozilla/layout/html/tests/table/bugs/bug30418.html file:///s|/mozilla/layout/html/tests/table/bugs/bug30559.html file:///s|/mozilla/layout/html/tests/table/bugs/bug30985.html file:///s|/mozilla/layout/html/tests/table/bugs/bug30692.html @@ -183,6 +187,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug3517.html file:///s|/mozilla/layout/html/tests/table/bugs/bug3681-1.html file:///s|/mozilla/layout/html/tests/table/bugs/bug3681-2.html file:///s|/mozilla/layout/html/tests/table/bugs/bug3718.html +file:///s|/mozilla/layout/html/tests/table/bugs/bug38916.html file:///s|/mozilla/layout/html/tests/table/bugs/bug3977.html file:///s|/mozilla/layout/html/tests/table/bugs/bug4093.html file:///s|/mozilla/layout/html/tests/table/bugs/bug4284.html @@ -199,6 +204,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug4527.html file:///s|/mozilla/layout/html/tests/table/bugs/bug45350.html file:///s|/mozilla/layout/html/tests/table/bugs/bug46368-1.html file:///s|/mozilla/layout/html/tests/table/bugs/bug46368-2.html +file:///s|/mozilla/layout/html/tests/table/bugs/bug46924.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 diff --git a/mozilla/layout/html/tests/table/interactive/bug47252.html b/mozilla/layout/html/tests/table/interactive/bug47252.html new file mode 100644 index 00000000000..380623fc0e3 --- /dev/null +++ b/mozilla/layout/html/tests/table/interactive/bug47252.html @@ -0,0 +1,119 @@ + + + + + +Account Information + + + + + +The button should appear at the bottom and not cause any problems when moused over. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
00008000005812 MONTH TERMCAD$0.00
00034000005812 MONTH TERMCAD$500.00
00037000005812 MONTH TERMCAD$500.00
00036000005812 MONTH TERMCAD$500.00
00039000005812 MONTH TERMCAD$500.00
00024000004812 MONTH TERMCAD$163,620.88
00016000004812 MONTH TERMCAD$3,149.59
00001000004812 MONTH TERMCAD$100,299.09
00040000005812 MONTH TERMCAD$500.00
00038000005812 MONTH TERMCAD$500.00
00035000005812 MONTH TERMCAD$500.00
00007000005830 DAY TERMCAD$0.00
+ + + + + diff --git a/mozilla/layout/html/tests/table/interactive/bug52598.html b/mozilla/layout/html/tests/table/interactive/bug52598.html new file mode 100644 index 00000000000..6c7ee392717 --- /dev/null +++ b/mozilla/layout/html/tests/table/interactive/bug52598.html @@ -0,0 +1,17 @@ +Enter some text and the text field should not disappear +
+ + + + +
+ +
+
+ + + +
+
+ +