ladybird/Tests/LibWeb/Layout/expected/table/nested-table-box-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

109 lines
7.8 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 142 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 126 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 115.828125 0+0+668.171875] [0+0+0 126 0+0+0] [BFC] children: not-inline
Box <table> at [13,13] table-box [0+5+0 105.828125 0+5+0] [0+5+0 116 0+5+0] [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tbody> at [15,15] table-row-group [0+0+0 101.828125 0+0+0] [0+0+0 112 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tr> at [15,15] table-row [0+0+0 101.828125 0+0+0] [0+0+0 55 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [25,33.5] table-cell [0+5+5 11.5625 5+5+0] [0+5+13.5 18 13.5+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [25,33.5 11.5625x18] baseline: 13.796875
"X"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [58.5625,25] table-cell [0+5+5 48.265625 5+5+0] [0+5+5 92 5+5+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [58.5625,25] [0+0+0 48.265625 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [58.5625,25] [0+0+0 48.265625 0+0+0] [0+0+0 92 0+0+0] [BFC] children: not-inline
Box <table> at [63.5625,30] table-box [0+5+0 38.265625 0+5+0] [0+5+0 82 0+5+0] [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tbody> at [65.5625,32] table-row-group [0+0+0 34.265625 0+0+0] [0+0+0 78 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tr> at [65.5625,32] table-row [0+0+0 34.265625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [75.5625,42] table-cell [0+5+5 14.265625 5+5+0] [0+5+5 18 5+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [75.5625,42 14.265625x18] baseline: 13.796875
"A"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tr> at [65.5625,72] table-row [0+0+0 34.265625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [75.5625,82] table-cell [0+5+5 14.265625 5+5+0] [0+5+5 18 5+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [75.5625,82 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)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [58.5625,117] [0+0+0 48.265625 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tr> at [15,72] table-row [0+0+0 101.828125 0+0+0] [0+0+0 55 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [25,90.5] table-cell [0+5+5 11.5625 5+5+0] [0+5+13.5 18 13.5+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [25,90.5 11.09375x18] baseline: 13.796875
"Y"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,134] [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 800x142]
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x126]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (TableWrapper(anonymous)) [8,8 115.828125x126]
PaintableBox (Box<TABLE>) [8,8 115.828125x126]
PaintableBox (Box<TBODY>) [15,15 101.828125x112]
PaintableBox (Box<TR>) [15,15 101.828125x55]
PaintableWithLines (BlockContainer<TD>) [15,15 31.5625x55]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [48.5625,15 68.265625x112]
PaintableWithLines (BlockContainer(anonymous)) [58.5625,25 48.265625x0]
PaintableWithLines (TableWrapper(anonymous)) [58.5625,25 48.265625x92]
PaintableBox (Box<TABLE>) [58.5625,25 48.265625x92]
PaintableBox (Box<TBODY>) [65.5625,32 34.265625x78]
PaintableBox (Box<TR>) [65.5625,32 34.265625x38]
PaintableWithLines (BlockContainer<TD>) [65.5625,32 34.265625x38]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [65.5625,72 34.265625x38]
PaintableWithLines (BlockContainer<TD>) [65.5625,72 34.265625x38]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [58.5625,117 48.265625x0]
PaintableBox (Box<TR>) [15,72 101.828125x55]
PaintableWithLines (BlockContainer<TD>) [15,72 31.5625x55]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,134 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x142] [children: 0] (z-index: auto)