mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:07:43 +00:00

Before this change, it was possible for flex lines with negative remaining space (due to overflowing items) to put a negative amount of space between items for some values of `justify-content`. This makes https://polar.sh/SerenityOS look much better :^)
19 lines
1.3 KiB
Text
19 lines
1.3 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
|
|
Box <body> at (8,8) content-size 400x100 flex-container(row) [FFC] children: not-inline
|
|
Box <div.outer> at (8,8) content-size 200x100 flex-container(column) flex-item [FFC] children: not-inline
|
|
BlockContainer <div.upper> at (8,8) content-size 200x200 flex-item [BFC] children: not-inline
|
|
BlockContainer <div.spacer> at (8,8) content-size 200x200 children: not-inline
|
|
BlockContainer <div.lower> at (8,208) content-size 200x17 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [8,208 26.953125x17] baseline: 13.296875
|
|
"whf"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116] overflow: [0,0 800x225]
|
|
PaintableBox (Box<BODY>) [8,8 400x100] overflow: [8,8 400x217]
|
|
PaintableBox (Box<DIV>.outer) [8,8 200x100] overflow: [8,8 200x217]
|
|
PaintableWithLines (BlockContainer<DIV>.upper) [8,8 200x200]
|
|
PaintableWithLines (BlockContainer<DIV>.spacer) [8,8 200x200]
|
|
PaintableWithLines (BlockContainer<DIV>.lower) [8,208 200x17]
|
|
TextPaintable (TextNode<#text>)
|