mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 14:37:35 +00:00

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.
10 lines
756 B
Text
10 lines
756 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 500x37.46875 [BFC] children: inline
|
|
line 0 width: 272.40625, height: 37.46875, bottom: 37.46875, baseline: 15.53125
|
|
frag 0 from Box start: 0, length: 0, rect: [10,10 162.40625x19.46875]
|
|
Box <body> at (10,10) content-size 162.40625x19.46875 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <div> at (11,11) content-size 160.40625x17.46875 flex-item [BFC] children: inline
|
|
line 0 width: 160.40625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 20, rect: [11,11 160.40625x17.46875]
|
|
"Immobilie inserieren"
|
|
TextNode <#text>
|