mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibWeb: Allow IFC to size inline-flex boxes midway through flex layout
The part in FFC where we ask the parent formatting context to size the flex container midway through layout is really weird, but let's at least be consistently weird for BFC and IFC. Since IFC always works within its parent BFC, it can simply forward these requests to the BFC. This fixes an issue where inline-flex containers incorrectly had main axis margins subtracted from their content size.
This commit is contained in:
parent
1737a0d1d9
commit
e99a6fede4
4 changed files with 46 additions and 0 deletions
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html><style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
}
|
||||
html {
|
||||
background: white;
|
||||
width: 500px;
|
||||
}
|
||||
body {
|
||||
display: inline-flex;
|
||||
margin-right: 100px;
|
||||
background: pink;
|
||||
}
|
||||
div {
|
||||
background: orange;
|
||||
}
|
||||
</style><body><div>Immobilie inserieren
|
Loading…
Add table
Add a link
Reference in a new issue