mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-25 09:30:01 +00: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.
14 lines
218 B
HTML
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>
|