blob: 5dacd4a1df47e05f5ad112bd82ad1d6f8b9a8c48 [file] [log] [blame]
<!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: -internal-center
}
</style>
<p>crbug.com/652792: A row positioned naturally at the top of a column should move below any repeating table header.</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>Te</td><td>xt</td></tr>
<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>Te</td><td>xt</td></tr>
</table>
</div>