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

38 lines
2.4 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 [0,0] [0+0+0 800 0+0+0] [0+0+0 1216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 1200 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 1200 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,808 400x400] baseline: 400
InlineNode <(anonymous)> at [8,394] [0+0+0 454.796875 0+0+0] [0+0+0 400 0+0+0]
frag 0 from TextNode start: 0, length: 3, rect: [8,394 27.15625x18] baseline: 13.796875
"foo"
frag 1 from ImageBox start: 0, length: 0, rect: [35.15625,8 400x400] baseline: 400
frag 2 from TextNode start: 0, length: 3, rect: [435.15625,394 27.640625x18] baseline: 13.796875
"bar"
frag 0 from ImageBox start: 0, length: 0, rect: [8,408 400x400] baseline: 400
frag 1 from TextNode start: 0, length: 3, rect: [408,794 27.203125x18] baseline: 13.796875
"baz"
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [35.15625,8] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [8,408] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <img> at [8,808] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] children: not-inline
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x1216]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x1216]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x1200]
PaintableWithLines (BlockContainer<DIV>) [8,8 784x1200]
PaintableWithLines (InlineNode(anonymous)) [8,394 454.796875x400]
TextPaintable (TextNode<#text>)
ImagePaintable (ImageBox(anonymous)) [35.15625,8 400x400]
TextPaintable (TextNode<#text>)
ImagePaintable (ImageBox(anonymous)) [8,408 400x400]
TextPaintable (TextNode<#text>)
PaintableWithLines (InlineNode(anonymous)) [8,408 427.203125x400]
ImagePaintable (ImageBox<IMG>) [8,808 400x400]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1216] [children: 0] (z-index: auto)