blob: cee094e7474982a375fde6c0225325d756ce97fe [file] [log] [blame]
<!DOCTYPE html>
<style>
td, th {
background-color: #ddd;
border: 1px solid black;
}
tr {
break-inside: avoid;
}
</style>
<p>crbug.com/656232: 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:110px; background-color: yellow; position:relative;">
<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>
<tr><td style="background-color: transparent; border: none; height: 6px;"></td><td style="background-color: transparent; border: none;"></td></tr>
<tr>
<th>Ft 1</th>
<th>Ft 2</th>
</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>
<tr><td>Te</td><td>xt</td></tr>
<tr><td style="background-color: transparent; border: none; height: 6px;"></td><td style="background-color: transparent; border: none;"></td></tr>
<tr>
<th>Ft 1</th>
<th>Ft 2</th>
</tr>
</table>
<br><br><br><br><br><br><br><br><br><br><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>
<tr><td>Te</td><td>xt</td></tr>
<tr>
<th>Ft 1</th>
<th>Ft 2</th>
</tr>
</table>
</div>