Files
ladybird/Tests/LibWeb/Layout/expected/table/border-spacing-and-borders-table-width.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

41 lines
2.7 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 94 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 78 0+0+8] children: not-inline
TableWrapper <(anonymous)> at [8,8] [0+0+0 143.609375 0+0+660.390625] [0+0+0 78 0+0+0] [BFC] children: not-inline
Box <table> at [23,13] table-box [0+5+10 113.609375 10+5+0] [0+5+0 68 0+5+0] [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tbody> at [33,23] table-row-group [0+0+0 93.609375 0+0+0] [0+0+0 48 0+0+0] children: not-inline
Box <tr> at [33,23] table-row [0+0+0 93.609375 0+0+0] [0+0+0 48 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [48,38] table-cell [0+5+10 14.265625 10+5+0] [0+5+10 18 10+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [48,38 14.265625x18] baseline: 13.796875
"A"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [102.265625,38] table-cell [0+5+10 9.34375 10+5+0] [0+5+10 18 10+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [102.265625,38 9.34375x18] baseline: 13.796875
"B"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x94]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x78]
PaintableWithLines (TableWrapper(anonymous)) [8,8 143.609375x78]
PaintableBox (Box<TABLE>) [8,8 143.609375x78]
PaintableBox (Box<TBODY>) [33,23 93.609375x48]
PaintableBox (Box<TR>) [33,23 93.609375x48]
PaintableWithLines (BlockContainer<TD>) [33,23 44.265625x48]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [87.265625,23 39.34375x48]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x94] [children: 0] (z-index: auto)