mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
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.
15 lines
218 B
HTML
15 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>
|