Files
ladybird/Tests/LibWeb/Layout/expected/grid/grid-item-fixed-paddings.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

50 lines
3.1 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 374 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 358 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 358 0+0+0] [GFC] children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [68,68] [0+10+50 17.046875 50+10+0] [0+10+50 34 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [70.578125,68 11.890625x34] baseline: 26
"1"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [255.046875,68] [0+10+50 16.53125 50+10+0] [0+10+50 34 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [255.046875,68 16.53125x34] baseline: 26
"2"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [68,272] [0+10+50 17.046875 50+10+0] [0+10+50 34 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [68,272 17.046875x34] baseline: 26
"3"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [255.046875,272] [0+10+50 16.53125 50+10+0] [0+10+50 34 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [256.046875,272 14.53125x34] baseline: 26
"4"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,366] [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 800x374]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x358]
PaintableBox (Box<DIV>.grid-container) [8,8 784x358]
PaintableWithLines (BlockContainer<DIV>.grid-item) [8,8 137.046875x154]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.grid-item) [195.046875,8 136.53125x154]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.grid-item) [8,212 137.046875x154]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.grid-item) [195.046875,212 136.53125x154]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,366 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x374] [children: 0] (z-index: auto)