Files
ladybird/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt
Andreas Kling 7d4d7da28a LibWeb: Wrap inline children of table-cell in anonymous block
This fixes an issue where CSS vertical-align on a table-cell box would
incorrectly apply to both the table-cell box and any inline content it
had inside.
2025-02-25 23:55:36 +01:00

115 lines
7.8 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x140 [BFC] children: not-inline
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
TextNode <#text>
BlockContainer <body> at (8,8) content-size 784x124 children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
TextNode <#text>
TableWrapper <(anonymous)> at (8,8) content-size 115.828125x124 [BFC] children: not-inline
Box <table> at (13,13) content-size 105.828125x114 table-box [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tbody> at (15,15) content-size 101.828125x110 table-row-group children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (15,15) content-size 101.828125x54 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (25,33.5) content-size 11.5625x17 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (25,33.5) content-size 11.5625x17 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [25,33.5 11.5625x17] baseline: 13.296875
"X"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (58.5625,25) content-size 48.265625x90 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (58.5625,25) content-size 48.265625x0 children: inline
TextNode <#text>
TableWrapper <(anonymous)> at (58.5625,25) content-size 48.265625x90 [BFC] children: not-inline
Box <table> at (63.5625,30) content-size 38.265625x80 table-box [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tbody> at (65.5625,32) content-size 34.265625x76 table-row-group children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (65.5625,32) content-size 34.265625x37 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (75.5625,42) content-size 14.265625x17 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (75.5625,42) content-size 14.265625x17 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [75.5625,42 14.265625x17] baseline: 13.296875
"A"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (65.5625,71) content-size 34.265625x37 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (75.5625,81) content-size 14.265625x17 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (75.5625,81) content-size 14.265625x17 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [75.5625,81 9.34375x17] baseline: 13.296875
"B"
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 (58.5625,115) content-size 48.265625x0 children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (15,71) content-size 101.828125x54 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (25,89.5) content-size 11.5625x17 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (25,89.5) content-size 11.5625x17 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [25,89.5 11.09375x17] baseline: 13.296875
"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,132) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x140]
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x124]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (TableWrapper(anonymous)) [8,8 115.828125x124]
PaintableBox (Box<TABLE>) [8,8 115.828125x124]
PaintableBox (Box<TBODY>) [15,15 101.828125x110]
PaintableBox (Box<TR>) [15,15 101.828125x54]
PaintableWithLines (BlockContainer<TD>) [15,15 31.5625x54]
PaintableWithLines (BlockContainer(anonymous)) [25,33.5 11.5625x17]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [48.5625,15 68.265625x110]
PaintableWithLines (BlockContainer(anonymous)) [58.5625,25 48.265625x0]
PaintableWithLines (TableWrapper(anonymous)) [58.5625,25 48.265625x90]
PaintableBox (Box<TABLE>) [58.5625,25 48.265625x90]
PaintableBox (Box<TBODY>) [65.5625,32 34.265625x76]
PaintableBox (Box<TR>) [65.5625,32 34.265625x37]
PaintableWithLines (BlockContainer<TD>) [65.5625,32 34.265625x37]
PaintableWithLines (BlockContainer(anonymous)) [75.5625,42 14.265625x17]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [65.5625,71 34.265625x37]
PaintableWithLines (BlockContainer<TD>) [65.5625,71 34.265625x37]
PaintableWithLines (BlockContainer(anonymous)) [75.5625,81 14.265625x17]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [58.5625,115 48.265625x0]
PaintableBox (Box<TR>) [15,71 101.828125x54]
PaintableWithLines (BlockContainer<TD>) [15,71 31.5625x54]
PaintableWithLines (BlockContainer(anonymous)) [25,89.5 11.5625x17]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,132 784x0]