mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +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.
96 lines
6.3 KiB
Plaintext
96 lines
6.3 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 122 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 106 0+0+8] children: not-inline
|
|
TableWrapper <(anonymous)> at [8,8] [0+0+0 2 0+0+782] [0+0+0 2 0+0+0] [BFC] children: not-inline
|
|
Box <table#empty-table> at [8,8] table-box [0+0+0 2 0+0+0] [0+0+0 2 0+0+0] [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> at [8,10] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
TextNode <#text> (not painted)
|
|
TableWrapper <(anonymous)> at [8,10] [0+0+0 99.171875 0+0+684.828125] [0+0+0 104 0+0+0] [BFC] children: not-inline
|
|
Box <table#full-table> at [8,28] table-box [0+0+0 99.171875 0+0+0] [0+0+0 68 0+0+18] [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <caption> at [8,10] [0+0+0 99.171875 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 5, length: 9, rect: [16.21875,10 82.734375x18] baseline: 13.796875
|
|
"A Caption"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <thead> at [10,30] table-header-group [0+0+0 95.171875 0+0+0] [0+0+0 20 0+0+0] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <tr> at [10,30] table-row [0+0+0 95.171875 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,31] table-cell [0+0+1 93.171875 1+0+0] [0+0+1 18 1+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [11,31 73.65625x18] baseline: 13.796875
|
|
"Head 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)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <tbody> at [10,52] table-row-group [0+0+0 95.171875 0+0+0] [0+0+0 20 0+0+0] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <tr> at [10,52] table-row [0+0+0 95.171875 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,53] table-cell [0+0+1 93.171875 1+0+0] [0+0+1 18 1+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [11,53 70.234375x18] baseline: 13.796875
|
|
"Body 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)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <tfoot> at [10,74] table-footer-group [0+0+0 95.171875 0+0+0] [0+0+0 20 0+0+0] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
Box <tr> at [10,74] table-row [0+0+0 95.171875 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,75] table-cell [0+0+1 93.171875 1+0+0] [0+0+1 18 1+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 11, rect: [11,75 93.171875x18] baseline: 13.796875
|
|
"Footer 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)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> at [8,114] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x122]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x106]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 2x2]
|
|
PaintableBox (Box<TABLE>#empty-table) [8,8 2x2]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,10 784x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,10 99.171875x104]
|
|
PaintableBox (Box<TABLE>#full-table) [8,28 99.171875x68]
|
|
PaintableWithLines (BlockContainer<CAPTION>) [8,10 99.171875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<THEAD>) [10,30 95.171875x20]
|
|
PaintableBox (Box<TR>) [10,30 95.171875x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,30 95.171875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TBODY>) [10,52 95.171875x20]
|
|
PaintableBox (Box<TR>) [10,52 95.171875x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,52 95.171875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TFOOT>) [10,74 95.171875x20]
|
|
PaintableBox (Box<TR>) [10,74 95.171875x20]
|
|
PaintableWithLines (BlockContainer<TD>) [10,74 95.171875x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,114 784x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x122] [children: 0] (z-index: auto)
|