ladybird/Tests/LibWeb/Layout/expected/input-file.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

95 lines
7.6 KiB
Text

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 [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 26 0+0+8] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 236.65625x26] baseline: 15.796875
frag 1 from TextNode start: 0, length: 1, rect: [244.65625,10 8x18] baseline: 13.796875
" "
frag 2 from BlockContainer start: 0, length: 0, rect: [252.65625,8 255.34375x26] baseline: 15.796875
frag 3 from TextNode start: 0, length: 1, rect: [508,10 8x18] baseline: 13.796875
" "
frag 4 from BlockContainer start: 0, length: 0, rect: [516,8 255.34375x26] baseline: 15.796875
BlockContainer <input> at [8,8] inline-block [0+0+0 236.65625 0+0+0] [0+0+0 26 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,8] flex-container(column) [0+0+0 236.65625 0+0+0] [0+0+0 26 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [8,8] flex-item [0+0+0 236.65625 0+0+0] [0+0+0 26 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 94.375x18] baseline: 15.796875
frag 1 from Label start: 0, length: 0, rect: [116.375,10 128.28125x18] baseline: 13.796875
BlockContainer <button> at [13,10] inline-block [0+1+4 94.375 4+1+0] [0+1+1 18 1+1+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 94.375 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [13,10] flex-item [0+0+0 94.375 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [13,10 94.375x18] baseline: 13.796875
"Select file..."
TextNode <#text> (not painted)
Label <label> at [116.375,10] inline-block [0+0+4 128.28125 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 17, rect: [116.375,10 128.28125x18] baseline: 13.796875
"No file selected."
TextNode <#text> (not painted)
TextNode <#text> (not painted)
BlockContainer <input> at [252.65625,8] inline-block [0+0+0 255.34375 0+0+0] [0+0+0 26 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [252.65625,8] flex-container(column) [0+0+0 255.34375 0+0+0] [0+0+0 26 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [252.65625,8] flex-item [0+0+0 255.34375 0+0+0] [0+0+0 26 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [257.65625,10 103.71875x18] baseline: 15.796875
frag 1 from Label start: 0, length: 0, rect: [370.375,10 137.625x18] baseline: 13.796875
BlockContainer <button> at [257.65625,10] inline-block [0+1+4 103.71875 4+1+0] [0+1+1 18 1+1+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [257.65625,10] flex-container(column) [0+0+0 103.71875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [257.65625,10] flex-item [0+0+0 103.71875 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [257.65625,10 103.71875x18] baseline: 13.796875
"Select files..."
TextNode <#text> (not painted)
Label <label> at [370.375,10] inline-block [0+0+4 137.625 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [370.375,10 137.625x18] baseline: 13.796875
"No files selected."
TextNode <#text> (not painted)
TextNode <#text> (not painted)
BlockContainer <input#multiple> at [516,8] inline-block [0+0+0 255.34375 0+0+0] [0+0+0 26 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [516,8] flex-container(column) [0+0+0 255.34375 0+0+0] [0+0+0 26 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [516,8] flex-item [0+0+0 255.34375 0+0+0] [0+0+0 26 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [521,10 103.71875x18] baseline: 15.796875
frag 1 from Label start: 0, length: 0, rect: [633.71875,10 137.625x18] baseline: 13.796875
BlockContainer <button> at [521,10] inline-block [0+1+4 103.71875 4+1+0] [0+1+1 18 1+1+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [521,10] flex-container(column) [0+0+0 103.71875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [521,10] flex-item [0+0+0 103.71875 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [521,10 103.71875x18] baseline: 13.796875
"Select files..."
TextNode <#text> (not painted)
Label <label> at [633.71875,10] inline-block [0+0+4 137.625 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [633.71875,10 137.625x18] baseline: 13.796875
"No files selected."
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x42]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x26]
PaintableWithLines (BlockContainer<INPUT>) [8,8 236.65625x26]
PaintableWithLines (BlockContainer(anonymous)) [8,8 236.65625x26]
PaintableWithLines (BlockContainer(anonymous)) [8,8 236.65625x26]
PaintableWithLines (BlockContainer<BUTTON>) [8,8 104.375x22]
PaintableWithLines (BlockContainer(anonymous)) [13,10 94.375x18]
PaintableWithLines (BlockContainer(anonymous)) [13,10 94.375x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (Label<LABEL>) [112.375,10 132.28125x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<INPUT>) [252.65625,8 255.34375x26]
PaintableWithLines (BlockContainer(anonymous)) [252.65625,8 255.34375x26]
PaintableWithLines (BlockContainer(anonymous)) [252.65625,8 255.34375x26]
PaintableWithLines (BlockContainer<BUTTON>) [252.65625,8 113.71875x22]
PaintableWithLines (BlockContainer(anonymous)) [257.65625,10 103.71875x18]
PaintableWithLines (BlockContainer(anonymous)) [257.65625,10 103.71875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (Label<LABEL>) [366.375,10 141.625x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<INPUT>#multiple) [516,8 255.34375x26]
PaintableWithLines (BlockContainer(anonymous)) [516,8 255.34375x26]
PaintableWithLines (BlockContainer(anonymous)) [516,8 255.34375x26]
PaintableWithLines (BlockContainer<BUTTON>) [516,8 113.71875x22]
PaintableWithLines (BlockContainer(anonymous)) [521,10 103.71875x18]
PaintableWithLines (BlockContainer(anonymous)) [521,10 103.71875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (Label<LABEL>) [629.71875,10 141.625x18]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] [children: 0] (z-index: auto)