blob: 2ac06c20fdcaa8269957107216178144f1cad228 [file] [log] [blame]
<!DOCTYPE html>
<style>
table {
font-size: 16px;
}
td, th {
background-color: #ddd;
border: 1px solid black;
}
thead, tr, tfoot {
break-inside: avoid;
}
</style>
<p>crbug.com/656232: Headers and footers should repeat correctly in a table that doesn't start at the top of the page.</p>
<div style="columns:3; line-height:20px; column-fill: auto; height:120px; background-color: yellow;">
<br>
<table>
<thead id="thead">
<tr>
<th>Col 1</th>
<th>Col 2</th>
</tr>
</thead>
<tbody>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
</tbody>
<tfoot>
<tr>
<th>Ft 1</th>
<th>Ft 2</th>
</tr>
</tfoot>
</table>
</div>