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

24 lines
1.5 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x52 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x36 children: not-inline
TableWrapper <(anonymous)> at (8,8) content-size 32.265625x36 [BFC] children: not-inline
Box <table> at (13,13) content-size 22.265625x26 table-box [TFC] children: not-inline
Box <tbody> at (15,15) content-size 18.265625x22 table-row-group children: not-inline
Box <tr> at (15,15) content-size 18.265625x22 table-row children: not-inline
BlockContainer <td> at (17,17) content-size 14.265625x18 table-cell [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [17,17 14.265625x18] baseline: 13.796875
"A"
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x52]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x36]
PaintableWithLines (TableWrapper(anonymous)) [8,8 32.265625x36]
PaintableBox (Box<TABLE>) [8,8 32.265625x36]
PaintableBox (Box<TBODY>) [15,15 18.265625x22]
PaintableBox (Box<TR>) [15,15 18.265625x22]
PaintableWithLines (BlockContainer<TD>) [15,15 18.265625x22]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x52] [children: 0] (z-index: auto)