From 0701f6c8e478f9488a465c201f74ce72c33fa4d7 Mon Sep 17 00:00:00 2001 From: Bernd Date: Thu, 13 May 2010 16:15:49 +0200 Subject: [PATCH] bug 558575 - add reftests that give basic coverage of table pagination r=roc --- layout/reftests/pagination/reftest.list | 13 ++++++++++ .../row-page-break-after-always-1.html | 19 +++++++++++++++ .../row-page-break-after-always-2.html | 18 ++++++++++++++ .../rowgroup-page-break-after-always-1.html | 19 +++++++++++++++ ...group-tfoot-page-break-after-always-1.html | 20 ++++++++++++++++ ...group-thead-page-break-after-always-1.html | 20 ++++++++++++++++ .../table-page-break-after-always-1.html | 21 ++++++++++++++++ .../table-page-break-after-left-1.html | 21 ++++++++++++++++ .../table-page-break-after-right-1.html | 21 ++++++++++++++++ .../table-page-break-before-always-1-ref.html | 21 ++++++++++++++++ .../table-page-break-before-always-1.html | 21 ++++++++++++++++ .../table-page-break-before-auto-1-ref.html | 21 ++++++++++++++++ .../table-page-break-before-auto-1.html | 21 ++++++++++++++++ .../table-page-break-before-auto-2-ref.html | 22 +++++++++++++++++ .../table-page-break-before-auto-2.html | 24 +++++++++++++++++++ .../table-page-break-before-auto-3-ref.html | 24 +++++++++++++++++++ .../table-page-break-before-avoid-1.html | 22 +++++++++++++++++ .../table-page-break-before-left-1.html | 21 ++++++++++++++++ .../table-page-break-before-right-1.html | 21 ++++++++++++++++ .../table_internal_pagebreak-1.html | 21 ++++++++++++++++ 20 files changed, 411 insertions(+) create mode 100644 layout/reftests/pagination/row-page-break-after-always-1.html create mode 100644 layout/reftests/pagination/row-page-break-after-always-2.html create mode 100644 layout/reftests/pagination/rowgroup-page-break-after-always-1.html create mode 100644 layout/reftests/pagination/rowgroup-tfoot-page-break-after-always-1.html create mode 100644 layout/reftests/pagination/rowgroup-thead-page-break-after-always-1.html create mode 100644 layout/reftests/pagination/table-page-break-after-always-1.html create mode 100644 layout/reftests/pagination/table-page-break-after-left-1.html create mode 100644 layout/reftests/pagination/table-page-break-after-right-1.html create mode 100644 layout/reftests/pagination/table-page-break-before-always-1-ref.html create mode 100644 layout/reftests/pagination/table-page-break-before-always-1.html create mode 100644 layout/reftests/pagination/table-page-break-before-auto-1-ref.html create mode 100644 layout/reftests/pagination/table-page-break-before-auto-1.html create mode 100644 layout/reftests/pagination/table-page-break-before-auto-2-ref.html create mode 100644 layout/reftests/pagination/table-page-break-before-auto-2.html create mode 100644 layout/reftests/pagination/table-page-break-before-auto-3-ref.html create mode 100644 layout/reftests/pagination/table-page-break-before-avoid-1.html create mode 100644 layout/reftests/pagination/table-page-break-before-left-1.html create mode 100644 layout/reftests/pagination/table-page-break-before-right-1.html create mode 100644 layout/reftests/pagination/table_internal_pagebreak-1.html diff --git a/layout/reftests/pagination/reftest.list b/layout/reftests/pagination/reftest.list index 80f7dd85c044..37ff286aca23 100644 --- a/layout/reftests/pagination/reftest.list +++ b/layout/reftests/pagination/reftest.list @@ -31,3 +31,16 @@ fails == float-clear-003-print.html float-clear-000-print.ref.html # bug 377204 fails == float-continuations-000.html float-continuations-000.ref.html == resize-reflow-000.html resize-reflow-000.ref.html == resize-reflow-001.html resize-reflow-001.ref.html +== table-page-break-before-auto-1.html table-page-break-before-auto-1-ref.html +#== table-page-break-before-auto-2.html table-page-break-before-auto-2-ref.html bug 563280 +== table-page-break-before-always-1.html table-page-break-before-auto-2-ref.html +== table-page-break-before-left-1.html table-page-break-before-auto-2-ref.html +== table-page-break-before-right-1.html table-page-break-before-auto-2-ref.html +== table-page-break-after-always-1.html table-page-break-before-auto-2-ref.html +== table-page-break-after-left-1.html table-page-break-before-auto-2-ref.html +== table-page-break-after-right-1.html table-page-break-before-auto-2-ref.html +== rowgroup-page-break-after-always-1.html table-page-break-before-auto-2-ref.html +== row-page-break-after-always-1.html table-page-break-before-auto-2-ref.html +== row-page-break-after-always-2.html table-page-break-before-auto-2-ref.html +== rowgroup-thead-page-break-after-always-1.html table-page-break-before-auto-3-ref.html +== rowgroup-tfoot-page-break-after-always-1.html table-page-break-before-auto-3-ref.html \ No newline at end of file diff --git a/layout/reftests/pagination/row-page-break-after-always-1.html b/layout/reftests/pagination/row-page-break-after-always-1.html new file mode 100644 index 000000000000..f8ef3236dd6a --- /dev/null +++ b/layout/reftests/pagination/row-page-break-after-always-1.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/pagination/row-page-break-after-always-2.html b/layout/reftests/pagination/row-page-break-after-always-2.html new file mode 100644 index 000000000000..fe0343f6d5d1 --- /dev/null +++ b/layout/reftests/pagination/row-page-break-after-always-2.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/pagination/rowgroup-page-break-after-always-1.html b/layout/reftests/pagination/rowgroup-page-break-after-always-1.html new file mode 100644 index 000000000000..3c6f282acfc6 --- /dev/null +++ b/layout/reftests/pagination/rowgroup-page-break-after-always-1.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/pagination/rowgroup-tfoot-page-break-after-always-1.html b/layout/reftests/pagination/rowgroup-tfoot-page-break-after-always-1.html new file mode 100644 index 000000000000..03b31c3598c6 --- /dev/null +++ b/layout/reftests/pagination/rowgroup-tfoot-page-break-after-always-1.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/pagination/rowgroup-thead-page-break-after-always-1.html b/layout/reftests/pagination/rowgroup-thead-page-break-after-always-1.html new file mode 100644 index 000000000000..17c9ed680fe8 --- /dev/null +++ b/layout/reftests/pagination/rowgroup-thead-page-break-after-always-1.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-after-always-1.html b/layout/reftests/pagination/table-page-break-after-always-1.html new file mode 100644 index 000000000000..b9686f4a1b0a --- /dev/null +++ b/layout/reftests/pagination/table-page-break-after-always-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-after-left-1.html b/layout/reftests/pagination/table-page-break-after-left-1.html new file mode 100644 index 000000000000..9042b9a80726 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-after-left-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-after-right-1.html b/layout/reftests/pagination/table-page-break-after-right-1.html new file mode 100644 index 000000000000..9042b9a80726 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-after-right-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-always-1-ref.html b/layout/reftests/pagination/table-page-break-before-always-1-ref.html new file mode 100644 index 000000000000..94ca757f3d27 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-always-1-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-always-1.html b/layout/reftests/pagination/table-page-break-before-always-1.html new file mode 100644 index 000000000000..94ca757f3d27 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-always-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-auto-1-ref.html b/layout/reftests/pagination/table-page-break-before-auto-1-ref.html new file mode 100644 index 000000000000..3ed19446ace4 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-auto-1-ref.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-auto-1.html b/layout/reftests/pagination/table-page-break-before-auto-1.html new file mode 100644 index 000000000000..96d53d1163b3 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-auto-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-auto-2-ref.html b/layout/reftests/pagination/table-page-break-before-auto-2-ref.html new file mode 100644 index 000000000000..efe7853c9640 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-auto-2-ref.html @@ -0,0 +1,22 @@ + + + + + + + + + + +
+
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-auto-2.html b/layout/reftests/pagination/table-page-break-before-auto-2.html new file mode 100644 index 000000000000..c5b37e875524 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-auto-2.html @@ -0,0 +1,24 @@ + + + + + + + + + + +
+ +
+ + + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-auto-3-ref.html b/layout/reftests/pagination/table-page-break-before-auto-3-ref.html new file mode 100644 index 000000000000..002724ab5554 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-auto-3-ref.html @@ -0,0 +1,24 @@ + + + + + + + + + + + +
+
+ + + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-avoid-1.html b/layout/reftests/pagination/table-page-break-before-avoid-1.html new file mode 100644 index 000000000000..39b8bd89c88f --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-avoid-1.html @@ -0,0 +1,22 @@ + + + + + + + + + + +
+
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-left-1.html b/layout/reftests/pagination/table-page-break-before-left-1.html new file mode 100644 index 000000000000..21f622a684bb --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-left-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table-page-break-before-right-1.html b/layout/reftests/pagination/table-page-break-before-right-1.html new file mode 100644 index 000000000000..a372440f1155 --- /dev/null +++ b/layout/reftests/pagination/table-page-break-before-right-1.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ + + + +
+ + diff --git a/layout/reftests/pagination/table_internal_pagebreak-1.html b/layout/reftests/pagination/table_internal_pagebreak-1.html new file mode 100644 index 000000000000..418b1cc1d43c --- /dev/null +++ b/layout/reftests/pagination/table_internal_pagebreak-1.html @@ -0,0 +1,21 @@ + + + + + + +
+ + + + + + + +
+
+ +