blob: 10eb3e30d329229e57b2a9bd3191b1fd07a9008f [file] [log] [blame]
<!DOCTYPE html>
<style>
td, th {
background-color: #ddd;
border: 1px solid black;
}
tr {
break-inside: avoid;
}
.header {
font-weight: bold;
}
</style>
<p>crbug.com/642814: 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:74px; background-color: yellow;">
<table>
<caption style="caption-side: top;">Caption</caption>
<tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
<tr><td>Te</td><td>xt</td></tr>
</table>
<table>
<caption style="caption-side: top;">Caption</caption>
<tr><td class="header">Col 3</td><td class="header">Col 4</td></tr>
<tr><td>Te</td><td>xt</td></tr>
</table>
</div>