Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/table/table-fragmentation-002d-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="match" href="table-fragmentation-002c-print-ref.html">
<style>
@page { size: 5in 3in; margin: 0.5in; }
body { margin: 0; }
table {
inline-size: 3in;
block-size: 3.5in;
border-spacing: 0.25in;
border: 0.25in solid black;
padding: 0.25in;
box-decoration-break: clone;
}
td {
vertical-align: top;
padding: 0;
border: 0.25in solid orange;
}
.content {
block-size: 1.5in;
background: gold;
}
</style>
<div style="height: 0.25in">BEFORE TABLE</div>
<table>
<tbody>
<tr>
<td><div class="content"></div></td>
</tr>
</tbody>
</table>
<div style="height: 0.25in">AFTER TABLE</div>