Files
ladybird/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-5.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

21 lines
1.3 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 122 0+1+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [2,2 168.96875x120] baseline: 16.796875
BlockContainer <body> at [2,2] inline-block [0+1+0 168.96875 0+1+0] [0+1+0 120 0+1+0] [BFC] children: not-inline
BlockContainer <div.hmm> at [3,3] [0+1+0 166.96875 0+1+0] [0+1+0 18 0+1+100] children: inline
frag 0 from TextNode start: 0, length: 21, rect: [3,3 166.96875x18] baseline: 13.796875
"suspiciously tall box"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [2,122] [0+0+0 168.96875 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 800x124]
PaintableWithLines (BlockContainer<BODY>) [1,1 170.96875x122]
PaintableWithLines (BlockContainer<DIV>.hmm) [2,2 168.96875x20]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [2,122 168.96875x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x122] [children: 0] (z-index: auto)