summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/table-fragmentation-003b-print.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/table/table-fragmentation-003b-print.html')
-rw-r--r--testing/web-platform/tests/css/css-break/table/table-fragmentation-003b-print.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/table/table-fragmentation-003b-print.html b/testing/web-platform/tests/css/css-break/table/table-fragmentation-003b-print.html
new file mode 100644
index 0000000000..a1d3b21298
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/table/table-fragmentation-003b-print.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
+<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1863421">
+<link rel="match" href="table-fragmentation-003a-print-ref.html">
+
+<style>
+@page { size: 5in 3in; margin: 0.5in; }
+body { margin: 0; }
+
+table {
+ inline-size: 3in;
+ block-size: 4.25in;
+ border-spacing: 0.125in;
+ border: 0.25in solid black;
+ padding: 0.125in;
+}
+td {
+ padding: 0;
+}
+thead td {
+ block-size: 0.25in;
+ background: blue;
+}
+tbody td {
+ vertical-align: top;
+ border: solid orange;
+ border-width: 0.25in 0;
+}
+.content {
+ block-size: 2in;
+ background: gold;
+}
+tfoot td {
+ block-size: 0.25in;
+ background: purple;
+}
+</style>
+
+<table>
+ <thead>
+ <tr>
+ <td></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><div class="content"></div></td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td></td>
+ </tr>
+ </tfoot>
+</table>