<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
}
tr {
break-inside: avoid;
}
</style>
<p>crbug.com/621258: Don't let repeating headers overlap on pages that contain two tables.</p>
<div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190px;">
<table>
<thead>
<tr>
<th colspan="2"><div>Col 1</div></th>
</tr>
</thead>
<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>
</table>
<table>
<thead>
<tr>
<th colspan="2">Col 2</th>
</tr>
</thead>
<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 id="cell" data-total-y=176>Te</td><td>xt</td></tr>
</table>
</div>
<div id="console"></div>
<script src="../resources/check-layout.js"></script>
<script>
checkLayout("#cell", document.getElementById("console"));
</script>