ladybird/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.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

173 lines
10 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x278 [BFC] children: not-inline
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
TextNode <#text>
BlockContainer <body> at (8,8) content-size 784x262 children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
TextNode <#text>
TableWrapper <(anonymous)> at (8,8) content-size 243.90625x262 [BFC] children: not-inline
Box <table> at (9,9) content-size 241.90625x260 table-box [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tbody> at (29,19) content-size 201.90625x240 table-row-group children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (29,19) content-size 201.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (50,30) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [50,30 14.265625x18] baseline: 13.796875
"A"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (126.265625,30) content-size 12.546875x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [127.859375,30 9.34375x18] baseline: 13.796875
"B"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (200.8125,30) content-size 9.09375x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [202.1875,30 6.34375x18] baseline: 13.796875
"1"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (29,69) content-size 201.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (50,80) content-size 88.8125x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [89.25,80 10.3125x18] baseline: 13.796875
"C"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (200.8125,80) content-size 9.09375x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [200.953125,80 8.8125x18] baseline: 13.796875
"2"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (29,119) content-size 201.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (50,130) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [51.203125,130 11.859375x18] baseline: 13.796875
"E"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (126.265625,130) content-size 12.546875x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [126.265625,130 12.546875x18] baseline: 13.796875
"F"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (200.8125,130) content-size 9.09375x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [200.8125,130 9.09375x18] baseline: 13.796875
"3"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (29,169) content-size 201.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (50,180) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [50.515625,180 13.234375x18] baseline: 13.796875
"G"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (126.265625,180) content-size 12.546875x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [126.421875,180 12.234375x18] baseline: 13.796875
"H"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (200.8125,180) content-size 9.09375x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [201.484375,180 7.75x18] baseline: 13.796875
"4"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (29,219) content-size 201.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (50,230) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [54.828125,230 4.59375x18] baseline: 13.796875
"I"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (126.265625,230) content-size 12.546875x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128.078125,230 8.90625x18] baseline: 13.796875
"J"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (200.8125,230) content-size 9.09375x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [201.125,230 8.453125x18] baseline: 13.796875
"5"
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,270) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x278]
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x262]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (TableWrapper(anonymous)) [8,8 243.90625x262]
PaintableBox (Box<TABLE>) [8,8 243.90625x262]
PaintableBox (Box<TBODY>) [29,19 201.90625x240]
PaintableBox (Box<TR>) [29,19 201.90625x40]
PaintableWithLines (BlockContainer<TD>) [29,19 56.265625x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [105.265625,19 54.546875x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [179.8125,19 51.09375x40]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [29,69 201.90625x40]
PaintableWithLines (BlockContainer<TD>) [29,69 130.8125x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [179.8125,69 51.09375x40]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [29,119 201.90625x40]
PaintableWithLines (BlockContainer<TD>) [29,119 56.265625x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [105.265625,119 54.546875x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [179.8125,119 51.09375x40]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [29,169 201.90625x40]
PaintableWithLines (BlockContainer<TD>) [29,169 56.265625x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [105.265625,169 54.546875x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [179.8125,169 51.09375x40]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [29,219 201.90625x40]
PaintableWithLines (BlockContainer<TD>) [29,219 56.265625x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [105.265625,219 54.546875x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [179.8125,219 51.09375x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,270 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x278] [children: 0] (z-index: auto)