ladybird/Tests/LibWeb/Layout/input/table/abspos-pseudo-element-inside-table.html
Aliaksandr Kalenik 9621439db0 LibWeb: Assign static position for abspos boxes nested into TFC
TFC is not aware of how to correctly calculate a static position for
abspos boxes, but assigning (0, 0) is better than crashing during abspos
item layout.

Fixes https://github.com/LadybirdBrowser/ladybird/issues/1382
2024-09-14 15:04:08 +02:00

21 lines
No EOL
392 B
HTML

<!DOCTYPE html><style>
table {
width: 100%;
}
th, td {
border: 1px solid #ccc;
padding: 8px;
text-align: left;
}
tr::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 10px;
background-color: red;
}
</style><table><thead><tr></tr></thead></table>