Files
ladybird/Tests/LibWeb/Layout/input/list-item-with-floated-child.html
Jelle Raaijmakers 19882e1ed6 LibWeb: Check available space for float: right boxes
For `float: left` boxes, we would take the available space into account
and push boxes down as required. This applies that same logic to `float:
right` boxes, where we would previously only compare their offset from
the edge using `>= 0`, which was almost always true.

Fixes #4750.
2026-01-26 16:41:42 +01:00

10 lines
110 B
HTML

<!DOCTYPE html>
<style>
a {
float: right;
width: 100%;
}
</style>
<li><a>A</a></li>
<li><a>B</a></li>