ladybird/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt
Jelle Raaijmakers edca2ab666 LibWeb: Do not create an anonymous container for table cells by default
We were always creating an anonymous container for the inline contents
of table cells, but the layout node we spawn for the table cells
themselves already is capable of dealing with inline nodes. Regular
logic should kick in for dealing with the block/inline node invariant.
2025-07-15 10:06:36 +02:00

123 lines
8.1 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x134 [BFC] children: not-inline
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
TextNode <#text>
BlockContainer <body> at (8,8) content-size 784x118 children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
TextNode <#text>
TableWrapper <(anonymous)> at (8,8) content-size 75.828125x118 [BFC] children: not-inline
Box <table> at (9,9) content-size 73.828125x116 table-box [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tbody> at (11,11) content-size 69.828125x112 table-row-group children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (11,11) content-size 69.828125x55 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (17,29.5) content-size 11.5625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [17,29.5 11.5625x18] baseline: 13.796875
"X"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (42.5625,17) content-size 32.265625x100 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (42.5625,17) content-size 32.265625x0 children: inline
TextNode <#text>
TableWrapper <(anonymous)> at (42.5625,17) content-size 32.265625x100 [BFC] children: not-inline
Box <table> at (43.5625,18) content-size 30.265625x98 table-box [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tbody> at (45.5625,20) content-size 26.265625x94 table-row-group children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (45.5625,20) content-size 26.265625x30 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (51.5625,26) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,26 14.265625x18] baseline: 13.796875
"A"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (45.5625,52) content-size 26.265625x30 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (51.5625,58) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,58 9.34375x18] baseline: 13.796875
"B"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (45.5625,84) content-size 26.265625x30 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (51.5625,90) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,90 10.3125x18] baseline: 13.796875
"C"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (42.5625,117) content-size 32.265625x0 children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (11,68) content-size 69.828125x55 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (17,86.5) content-size 11.5625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [17,86.5 11.09375x18] baseline: 13.796875
"Y"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,126) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x134]
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x118]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (TableWrapper(anonymous)) [8,8 75.828125x118]
PaintableBox (Box<TABLE>) [8,8 75.828125x118]
PaintableBox (Box<TBODY>) [11,11 69.828125x112]
PaintableBox (Box<TR>) [11,11 69.828125x55]
PaintableWithLines (BlockContainer<TD>) [11,11 23.5625x55]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [36.5625,11 44.265625x112]
PaintableWithLines (BlockContainer(anonymous)) [42.5625,17 32.265625x0]
PaintableWithLines (TableWrapper(anonymous)) [42.5625,17 32.265625x100]
PaintableBox (Box<TABLE>) [42.5625,17 32.265625x100]
PaintableBox (Box<TBODY>) [45.5625,20 26.265625x94]
PaintableBox (Box<TR>) [45.5625,20 26.265625x30]
PaintableWithLines (BlockContainer<TD>) [45.5625,20 26.265625x30]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [45.5625,52 26.265625x30]
PaintableWithLines (BlockContainer<TD>) [45.5625,52 26.265625x30]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [45.5625,84 26.265625x30]
PaintableWithLines (BlockContainer<TD>) [45.5625,84 26.265625x30]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [42.5625,117 32.265625x0]
PaintableBox (Box<TR>) [11,68 69.828125x55]
PaintableWithLines (BlockContainer<TD>) [11,68 23.5625x55]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,126 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x134] [children: 0] (z-index: auto)