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

34 lines
2.1 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 276 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 260 0+0+8] children: not-inline
BlockContainer <form> at [8,8] [0+0+0 784 0+0+0] [0+0+0 260 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,216 48x48] baseline: 48
frag 1 from TextNode start: 0, length: 1, rect: [56,250 8x18] baseline: 13.796875
" "
frag 2 from ImageBox start: 0, length: 0, rect: [64,200 64x64] baseline: 64
frag 3 from TextNode start: 0, length: 1, rect: [128,250 8x18] baseline: 13.796875
" "
frag 4 from ImageBox start: 0, length: 0, rect: [136,8 128x256] baseline: 256
TextNode <#text> (not painted)
ImageBox <input> at [8,216] inline-block [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <input> at [64,200] inline-block [0+0+0 64 0+0+0] [0+0+0 64 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <input> at [136,8] inline-block [0+0+0 128 0+0+0] [0+0+0 256 0+0+0] children: not-inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,268] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x276]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x260]
PaintableWithLines (BlockContainer<FORM>) [8,8 784x260]
ImagePaintable (ImageBox<INPUT>) [8,216 48x48]
TextPaintable (TextNode<#text>)
ImagePaintable (ImageBox<INPUT>) [64,200 64x64]
TextPaintable (TextNode<#text>)
ImagePaintable (ImageBox<INPUT>) [136,8 128x256]
PaintableWithLines (BlockContainer(anonymous)) [8,268 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x276] [children: 0] (z-index: auto)