<!DOCTYPE html>
<style>
table {
font-size: 16px;
border-collapse: collapse;
}
td, th {
background-color: #ddd;
border: 1px solid black;
}
thead, tr {
break-inside: avoid;
}
.header {
font-weight: bold;
text-align: center
}
</style>
<p>crbug.com/656232: Rows and headers should repeat correctly in the presence of a top caption.</p>
<div style="columns:3; line-height: 18px; column-fill: auto; height:91px; background-color: yellow;">
<table>
<caption>Caption</caption>
<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>
<tr style="break-before: column;"><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>
<tr style="break-before: column;"><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>