<!DOCTYPE html>
<style>
table {
font-size: 16px;
break-inside: avoid;
border-spacing: 0;
}
td, th {
background-color: #ddd;
border: 1px solid black;
padding: 2px;
}
tr {
break-inside: avoid;
}
.header {
font-weight: bold;
text-align: center
}
</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>
<tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
</table>
<table>
<tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
</table>
</div>