blob: 7f740a7ca457267832ae89f6c994779403cb1e55 [file] [log] [blame]
<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
}
td, th {
background-color: #ddd;
border: 1px solid black;
}
thead, tr, tfoot {
break-inside: avoid;
}
thead {
break-after: avoid;
}
</style>
<p>crbug.com/656232: The header group should probably repeat on each page here but our current heuristic prevents headers that don't fit at least one content row below them from doing so.</p>
<div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190px; background-color: yellow;">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<table>
<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>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<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>