mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Previously, horizontal padding, border, and margin were not being resolved for table captions. This was visible in layout tests where captions with padding showed 0 in the width metrics.
41 lines
2.6 KiB
Plaintext
41 lines
2.6 KiB
Plaintext
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 106 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 90 0+0+8] children: not-inline
|
|
TableWrapper <(anonymous)> at [8,8] [0+0+0 60.46875 0+0+723.53125] [0+0+0 90 0+0+0] [BFC] children: not-inline
|
|
Box <table> at [8,36] table-box [0+0+0 60.46875 0+0+0] [0+0+0 24 0+0+38] [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <caption> at [18,8] [0+0+10 40.46875 10+0+0] [0+0+10 18 10+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 5, length: 7, rect: [18,8 60.46875x18] baseline: 13.796875
|
|
"Caption"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <tbody> at [10,38] table-row-group [0+0+0 56.46875 0+0+0] [0+0+0 20 0+0+0] children: not-inline
|
|
Box <tr> at [10,38] table-row [0+0+0 56.46875 0+0+0] [0+0+0 20 0+0+0] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <td> at [11,39] table-cell [0+0+1 54.46875 1+0+0] [0+0+1 18 1+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [11,39 27.5x18] baseline: 13.796875
|
|
"Cell"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x106]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x90]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 60.46875x90]
|
|
PaintableBox (Box<TABLE>) [8,36 60.46875x24]
|
|
PaintableWithLines (BlockContainer<CAPTION>) [8,-2 60.46875x38]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TBODY>) [10,38 56.46875x20]
|
|
PaintableBox (Box<TR>) [10,38 56.46875x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,38 56.46875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x106] [children: 0] (z-index: auto)
|