blob: 84e3f9379c06d274c20be1b2b57ae0dd28b1ef80 [file] [log] [blame]
<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
font-size: 16px;
}
td, th {
background-color: #ddd;
border: 1px solid black;
}
thead, tr {
break-inside: avoid;
}
</style>
<p>crbug.com/624814: A row positioned naturally at the top of a column should move below any repeating table header.</p>
<div style="columns:3; line-height: 20px; column-fill: auto; height:110px; background-color: yellow;">
<table>
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
</tr>
</thead>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr style="line-height: 19px;"><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
</table>
</div>