bug 558575 - add reftests that give basic coverage of table pagination r=roc

This commit is contained in:
Bernd 2010-05-13 16:15:49 +02:00
parent 0e0a9adab0
commit 14362e067b
20 changed files with 411 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table >
<tbody>
<tr style="page-break-after:always"><td><div class="spacer"></div></td></tr>
</tbody>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table >
<tbody>
<tr style="page-break-after:always"><td><div class="spacer"></div></td></tr>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody style="page-break-after:always">
<tr><td><div class="spacer"></div></td></tr>
</tbody>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tfoot><tr><td><div class="spacer"></div></td></tr></tfoot>
<tbody style="page-break-after:always">
<tr><td><div class="spacer"></div></td></tr>
</tbody>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<thead><tr><td><div class="spacer"></div></td></tr></thead>
<tbody style="page-break-after:always">
<tr><td><div class="spacer"></div></td></tr>
</tbody>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table style="page-break-after:always">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table style="page-break-after:right">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table style="page-break-after:right">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table style="page-break-before:always">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table style="page-break-before:always">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table style= "page-break-before: auto">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<div style= "page-break-after: always"></div>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<div style="height: 1.4in;"></div>
<table style= "page-break-before: auto">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<thead><tr><td><div class="spacer"></div></td></tr></thead>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<div style= "page-break-after: always"></div>
<table>
<thead><tr><td><div class="spacer"></div></td></tr></thead>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<div style= "height: 1.4in"></div>
<table style="page-break-before:avoid">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table style="page-break-before:left">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<table style="page-break-before:right">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" class="reftest-print">
<head>
<style type="text/css">
div.spacer { height: 50px; width: 50px; border:thin solid green;}
</style>
</head>
<body>
<table><tr><td>
<table>
<tbody style="page-break-after:always">
<tr><td><div class="spacer"></div></td></tr>
</tbody>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</td></tr></table>
</body>
</html>