ladybird/Tests/LibWeb/Layout/input/flex/flex-container-with-width-auto-avoids-float-intrusions.html
Jelle Raaijmakers af8b256832 LibWeb: Avoid floats for BFC/FFC/GFCs with a definite width
Applicable FCs with an indefinite width simply shrink in their available
space as long as floats are intruding, but as soon as we have a definite
width we must push the box down until it it has enough space again.

Fixes #4136.
2025-08-01 14:26:12 +02:00

14 lines
218 B
HTML

<!DOCTYPE html>
<style>
#a {
background: green;
float: left;
height: 100px;
width: 100px;
}
#b {
background: red;
display: flex;
height: 50px;
}
</style><div id="a"></div><div id="b"></div>