Files
ladybird/Tests/LibWeb/Layout/input/abspos-relative-to-table-row.html
Psychpsyo 5be1e9076a LibWeb: Fix crash when abspos element is relative to table row
This occured because the abspos containing block is in-between the
containing blocks of two regular ancestors in this case, so it was
being skipped. (The containing block of a table cell is the table
itself, not the table row.)
2025-12-17 11:59:46 +01:00

9 lines
227 B
HTML

<!DOCTYPE html>
<table>
<!-- The first row is just here to move the second one down a bit. -->
<tr><td></td></tr>
<tr style="position: relative">
<td><div style="position: absolute">ABSPOS</div></td>
</tr>
</table>