Files
ladybird/Tests/LibWeb/Layout/expected/flex/flex-item-min-width-fit-content.txt
Jelle Raaijmakers f4b04beccd LibWeb: Show inline positioning in layout tree dump
Inline nodes in our layout tree have a position, so let's show it. By
centralizing the logic for this, block nodes now lose their redundant
'content-size' dump info which is already part of the box model dump.
2025-08-27 11:53:45 +01:00

33 lines
2.2 KiB
Plaintext

Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 70 0+1+0] [BFC] children: not-inline
Box <body> at [10,10] flex-container(row) [8+1+0 500 0+1+288] [8+1+0 52 0+1+8] [FFC] children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.big> at [11,11] flex-item [0+1+0 381.625 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.buttons> at [394.625,11] flex-item [0+1+0 114.375 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [395.625,12 57.046875x18] baseline: 14.796875
frag 1 from BlockContainer start: 0, length: 0, rect: [454.671875,12 53.328125x18] baseline: 14.796875
BlockContainer <div.button> at [395.625,12] inline-block [0+1+0 57.046875 0+1+0] [0+1+0 18 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [395.625,12 57.046875x18] baseline: 13.796875
"Accept"
TextNode <#text> (not painted)
BlockContainer <div.button> at [454.671875,12] inline-block [0+1+0 53.328125 0+1+0] [0+1+0 18 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [454.671875,12 53.328125x18] baseline: 13.796875
"Reject"
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x72]
PaintableBox (Box<BODY>) [9,9 502x54]
PaintableWithLines (BlockContainer<DIV>.big) [10,10 383.625x52]
PaintableWithLines (BlockContainer<DIV>.buttons) [393.625,10 116.375x52]
PaintableWithLines (BlockContainer<DIV>.button) [394.625,11 59.046875x20]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.button) [453.671875,11 55.328125x20]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x70] [children: 0] (z-index: auto)