<!DOCTYPE html>
<style>
table {
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;
}
.none {
background-color: transparent;
border: 1px solid yellow;
color: yellow;
height: 8px;
}
</style>
<p>crbug.com/656232: Headers and Footers should repeat correctly in the presence of bottom captions.</p>
<div style="columns:3; line-height: 18px; column-fill: auto; height:112px; background-color: yellow;">
<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>
<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>
<tr><td class="none"></td><td class="none"></td></tr>
<caption style="caption-side: bottom;">Caption</caption>
</table>
</div>