From c8cddf6bbac2e7a455b1059fda66521ad4dfb634 Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Fri, 23 Jun 2000 20:33:26 +0000 Subject: [PATCH] Printing regression test samples were revised. Does not effect the build. --- .../html/tests/printer/general/file_list.txt | 3 + layout/html/tests/printer/general/test4.html | 349 +----------------- layout/html/tests/printer/general/test5.html | 205 +--------- layout/html/tests/printer/general/test6.html | 348 ++--------------- 4 files changed, 69 insertions(+), 836 deletions(-) diff --git a/layout/html/tests/printer/general/file_list.txt b/layout/html/tests/printer/general/file_list.txt index 0fc16c6b1559..a05970a1485a 100644 --- a/layout/html/tests/printer/general/file_list.txt +++ b/layout/html/tests/printer/general/file_list.txt @@ -2,5 +2,8 @@ file:///s|/mozilla/layout/html/tests/printer/general/test0.html file:///s|/mozilla/layout/html/tests/printer/general/test1.html file:///s|/mozilla/layout/html/tests/printer/general/test2.html file:///s|/mozilla/layout/html/tests/printer/general/test3.html +file:///s|/mozilla/layout/html/tests/printer/general/test4.html +file:///s|/mozilla/layout/html/tests/printer/general/test5.html +file:///s|/mozilla/layout/html/tests/printer/general/test6.html diff --git a/layout/html/tests/printer/general/test4.html b/layout/html/tests/printer/general/test4.html index e4041d3b84c0..134f160c7ca1 100644 --- a/layout/html/tests/printer/general/test4.html +++ b/layout/html/tests/printer/general/test4.html @@ -1,335 +1,26 @@ - - - - - test4 - - - - + + +Test 4 + -

-Example 4: Some simple tables.

+ - - - + - - - - + +

Test 4: Background Image Tests

- - +

-
- - - - - - - - - - -
Color Meaning 
lightgreenLight green is used on cells that have a colspan
khakiKhaki is used on cells that have a rowspan
lightgreyLight grey is used on cells that have a rowspan and a colspan
-
-  - - - - - - - - - - - - - - - - - - - - - - -
Table 1 has this caption at the top.  It is defined to be 100% -of it's parent's width.
CellStuff to test out table cell layout. This should be long enough.
CellStuff to test out table cell layout. -This should be long enough.
CellStuff to test out table cell layout. This should be long enough.Cell
-
-  - - - - - - - - - - - - - - - - - - - - -
Table 2 has auto-width (no width param specified.)
CellStuff to test out table cell -layout. This should be long enough.
Cell
CellStuff to test out table cell layout. This should be long enough.more text
-  - - - - - - - - - - - - - - - - - - - - -
Table 3 is the same as Table 2, but with equal column widths. 
CellStuff to test out table cell -layout. This should be long enough.
Cell
CellStuff to test out table cell layout. This should be long enough.more text

-  - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 4 has this bottom caption. The table has specified -column widths and collapsing borders.
PlayerRankingRecord
Steve Clark177-0
Cliff Swain267-10
Marty Hogan357-15
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 5 has a scrolling tbody.
HEADER -
cell-00cell-01cell-02cell-03
cell-10cell-11cell-12cell-13
cell-20cell-21cell-22cell-23
cell-30cell-31cell-32cell-33
cell-40cell-41cell-42cell-43
cell-50cell-51cell-52cell-53
cell-60cell-61cell-62cell-63
cell-70cell-71cell-72cell-73
cell-80cell-81cell-82cell-83
cell-90cell-91cell-92cell-93
cell-a0cell-a1cell-a2cell-a3
cell-b0cell-b1cell-b2cell-b3
cell-c0cell-c1cell-c2cell-c3
cell-d0cell-d1cell-d2cell-d3
cell-e0cell-e1cell-e2cell-e3
cell-f0cell-f1cell-f2cell-f3
FOOTER -
Table 5 has a scrolling tbody.
- -
-This is a table formed from a list with display of table-row and -list items with display of table-cell. - -
- -This is a table formed from a list with display of table-row-group and -list items with display of table-cell. -
- -
- -This is like the previous table plus the list's overflow property set - -
-

The following table will have its rows and columns in red collapsed -
- - ----- -
before
C11C12C13 large -
C21C22C23 -
C31C32C33 -
- -
- - ----- -
after
C11C12C13 large -
C21C22C23 -
C31C32C33 -
- -

The following table will have its 2nd row and 2nd col collapsed. A window resize may be necessary to see it properly. -
- - ------ -
before
C11C12C13C14 -
C21C12 C13 C22 C23C14 -
C31C34 -
C41C42C43C44 -
- - - ------ -
after
C11C12C13C14 -
C21C12 C13 C22 C23C14 -
C31C34 -
C41C42C43C44 -
- -

The following table will have its 1st row group collapsed (rows 1 and 2) -
- - - - - -
before
C11C12C13C14 -
C21C22C23C24 -
C31C32C33C34 -
C41C42C43C44 -
- -
- - - - - -
after
C11C12C13C14 -
C21C22C23C24 -
C31C32C33C34 -
C41C42C43C44 -
- -
-

The following table is similar to a previous table except that the direction is right-to-left. -It will have its 2nd row and 2nd col collapsed. A window resize may be necessary to see it properly. -
- - ------ -
before
C11C12C13C14 -
C21C12 C13 C22 C23C14 -
C31C34 -
C41C42C43C44 -
- - - ------ -
after
C11C12C13C14 -
C21C12 C13 C22 C23C14 -
C31C34 -
C41C42C43C44 -
- - - + + diff --git a/layout/html/tests/printer/general/test5.html b/layout/html/tests/printer/general/test5.html index 63663a123d89..9b6e12ccb060 100644 --- a/layout/html/tests/printer/general/test5.html +++ b/layout/html/tests/printer/general/test5.html @@ -1,199 +1,26 @@ - - +Test 5 + + + - - -this is size five -this is point-size 12 -this is size seven - - - - -headingheadingheadingheadingheading -

headingheadingheadingheadingheading

-

headingheadingheadingheadingheading

-

headingheadingheadingheadingheading

-

headingheadingheadingheadingheading

-
headingheadingheadingheadingheading
-
headingheadingheadingheadingheading
- -
- -

Unvarnished

- -

plain text -

more plain text Reset SUBMIT - radio1 - - - - - - - -

this is pre
this is not pre -
- -

Font size=3 color=#ff0000 face=desdemona, arial, strike

- -

plain text -

more plain text Reset SUBMIT - radio1 - - - - - - - -

this is pre
this is not pre -
-
- -

font size=2

- -

plain text -

more plain text Reset SUBMIT - radio1 - - - - - - - -

this is pre
this is not pre -
- -

font face=Arial

- -

plain text -

more plain text Reset SUBMIT - radio1 - - - - - - - -

this is pre
this is not pre -
- -

font point-size=18

- -

plain text -

more plain text Reset SUBMIT - radio1 - - - - - - - -

this is pre
this is not pre -
-
-this is pre text
-
-this ispeter text + +

Test 5: Input Printing Tests

+ + +
+ PASSWORD
+ TEXT
+ BUTTON
+ CHECKBOX
+ RADIO
+ RESET
- -
-this is small pre text
-
-
- -pre table - - - -this is also caption -
this is the caption
this is the cellcell two -
-
+ diff --git a/layout/html/tests/printer/general/test6.html b/layout/html/tests/printer/general/test6.html index 22ca885e996f..936b9e1f9dfb 100644 --- a/layout/html/tests/printer/general/test6.html +++ b/layout/html/tests/printer/general/test6.html @@ -1,334 +1,46 @@ Test 6 + + - - - -

Example 6: Table Stress Test

-
Resize document for maximum effect
+ +

Test 6: Select Printing Tests

+ + + + + +

select Item

+
-

Auto-width tables with spans nested 8 levels deep

- - - - -
Cell - - - -
Cell - - - -
Cell - - - -
Cell - - - -
Cell - - - -
Cell - - - -
Cell - - - -
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
Cell
Cell Cell, and stuff to test out table cell layout. This should be long enough for testing.Cell
-
-

100% width tables nested 6 levels deep

- - - - +

scroll select Item

+ - - - - +

scroll select Item

+ - - - - - - - -
Cell oneCell2Cell 3
Cell 4Cell 5Cell 6
- - - - - - - - - - - - - - - - - -
123
4 - - - - - - - - - - - - -
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
12345
67 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
abcde
fghij
kl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
abcde
fghij
kl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
abcde
fghij
klmno
pqrst
uvwxy
no
pqrst
uvwxy
no
pqrst
uvwxy
90
abcde
fghij
klmno
3
456
789
6
789
89