blob: dea40dcd49cfbf2a4864d8bc9dab6010ad31f40a [file] [log] [blame]
<!DOCTYPE html>
<style>
table {
font-size: 16px;
}
td, th {
background-color: #ddd;
border: 1px solid black;
}
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: 18px; column-fill: auto; height:105px; background-color: yellow; position: relative;">
<br>
<table>
<tr>
<th>Col 1</th>
<th>Col 2</th>
</tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
</table>
<br>
<table style="position: absolute; top: 0px">
<tr>
<th>Col 1</th>
<th>Col 2</th>
</tr>
<tr><td>Te</td><td>xt</td></tr>
</table>
</div>