Files
ladybird/Tests/LibWeb/Layout/expected/table/border-collapse-is-inherited.txt
Jelle Raaijmakers 71665fa504 LibWeb: Scale font size by 1.15 for line-height: normal
Browsers such as Chrome and Firefox apply an arbitrary scale to the
current font size if `normal` is used for `line-height`. Firefox uses
1.2 while Chrome uses 1.15. Let's go with the latter for now, it's
relatively easy to change if we ever want to go back on that decision.

This also requires updating the expectations for a lot of layout tests.
The upside of this is that it's a bit easier to compare our layout
results to other browsers', especially Chrome.
2025-05-05 13:15:56 +02:00

220 lines
15 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x218 [BFC] children: not-inline
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
TextNode <#text>
BlockContainer <body> at (8,8) content-size 784x202 children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
TextNode <#text>
BlockContainer <div.horizontal> at (8,8) content-size 784x202 children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 161.90625x200] baseline: 14.796875
TextNode <#text>
BlockContainer <table> at (9,9) content-size 161.90625x200 inline-block [BFC] children: not-inline
BlockContainer <(anonymous)> at (9,9) content-size 161.90625x0 children: inline
TextNode <#text>
TableWrapper <(anonymous)> at (9,9) content-size 161.90625x200 inline-block [BFC] children: not-inline
Box <(anonymous)> at (9,9) content-size 161.90625x200 inline-table table-box [TFC] children: not-inline
Box <tbody> at (9,9) content-size 161.90625x200 table-row-group children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (9,9) content-size 161.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (30,20) content-size 14.265625x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (30,20) content-size 14.265625x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [30,20 14.265625x18] baseline: 13.796875
"A"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (86.265625,20) content-size 12.546875x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (86.265625,20) content-size 12.546875x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [87.859375,20 9.34375x18] baseline: 13.796875
"B"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (140.8125,20) content-size 9.09375x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (140.8125,20) content-size 9.09375x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [142.1875,20 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 (9,49) content-size 161.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (30,60) content-size 14.265625x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (30,60) content-size 14.265625x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [31.96875,60 10.3125x18] baseline: 13.796875
"C"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (86.265625,60) content-size 12.546875x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (86.265625,60) content-size 12.546875x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [86.96875,60 11.140625x18] baseline: 13.796875
"D"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (140.8125,60) content-size 9.09375x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (140.8125,60) content-size 9.09375x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [140.953125,60 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 (9,89) content-size 161.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (30,100) content-size 14.265625x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (30,100) content-size 14.265625x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [31.203125,100 11.859375x18] baseline: 13.796875
"E"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (86.265625,100) content-size 12.546875x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (86.265625,100) content-size 12.546875x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [86.265625,100 12.546875x18] baseline: 13.796875
"F"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (140.8125,100) content-size 9.09375x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (140.8125,100) content-size 9.09375x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [140.8125,100 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 (9,129) content-size 161.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (30,140) content-size 14.265625x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (30,140) content-size 14.265625x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [30.515625,140 13.234375x18] baseline: 13.796875
"G"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (86.265625,140) content-size 12.546875x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (86.265625,140) content-size 12.546875x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [86.421875,140 12.234375x18] baseline: 13.796875
"H"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (140.8125,140) content-size 9.09375x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (140.8125,140) content-size 9.09375x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [141.484375,140 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 (9,169) content-size 161.90625x40 table-row children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (30,180) content-size 14.265625x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (30,180) content-size 14.265625x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [34.828125,180 4.59375x18] baseline: 13.796875
"I"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (86.265625,180) content-size 12.546875x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (86.265625,180) content-size 12.546875x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [88.078125,180 8.90625x18] baseline: 13.796875
"J"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <td> at (140.8125,180) content-size 9.09375x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (140.8125,180) content-size 9.09375x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [141.125,180 8.453125x18] baseline: 13.796875
"5"
TextNode <#text>
BlockContainer <(anonymous)> at (9,9) content-size 0x0 children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (9,9) content-size 0x0 children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (9,9) content-size 0x0 children: inline
TextNode <#text>
TextNode <#text>
BlockContainer <(anonymous)> at (8,210) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x218]
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x202]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (BlockContainer<DIV>.horizontal) [8,8 784x202]
PaintableWithLines (BlockContainer<TABLE>) [8,8 163.90625x202]
PaintableWithLines (BlockContainer(anonymous)) [9,9 161.90625x0]
PaintableWithLines (TableWrapper(anonymous)) [9,9 161.90625x200]
PaintableBox (Box(anonymous)) [9,9 161.90625x200]
PaintableBox (Box<TBODY>) [9,9 161.90625x200]
PaintableBox (Box<TR>) [9,9 161.90625x40]
PaintableWithLines (BlockContainer<TD>) [9,9 56.265625x40]
PaintableWithLines (BlockContainer(anonymous)) [30,20 14.265625x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [65.265625,9 54.546875x40]
PaintableWithLines (BlockContainer(anonymous)) [86.265625,20 12.546875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [119.8125,9 51.09375x40]
PaintableWithLines (BlockContainer(anonymous)) [140.8125,20 9.09375x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [9,49 161.90625x40]
PaintableWithLines (BlockContainer<TD>) [9,49 56.265625x40]
PaintableWithLines (BlockContainer(anonymous)) [30,60 14.265625x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [65.265625,49 54.546875x40]
PaintableWithLines (BlockContainer(anonymous)) [86.265625,60 12.546875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [119.8125,49 51.09375x40]
PaintableWithLines (BlockContainer(anonymous)) [140.8125,60 9.09375x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [9,89 161.90625x40]
PaintableWithLines (BlockContainer<TD>) [9,89 56.265625x40]
PaintableWithLines (BlockContainer(anonymous)) [30,100 14.265625x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [65.265625,89 54.546875x40]
PaintableWithLines (BlockContainer(anonymous)) [86.265625,100 12.546875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [119.8125,89 51.09375x40]
PaintableWithLines (BlockContainer(anonymous)) [140.8125,100 9.09375x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [9,129 161.90625x40]
PaintableWithLines (BlockContainer<TD>) [9,129 56.265625x40]
PaintableWithLines (BlockContainer(anonymous)) [30,140 14.265625x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [65.265625,129 54.546875x40]
PaintableWithLines (BlockContainer(anonymous)) [86.265625,140 12.546875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [119.8125,129 51.09375x40]
PaintableWithLines (BlockContainer(anonymous)) [140.8125,140 9.09375x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [9,169 161.90625x40]
PaintableWithLines (BlockContainer<TD>) [9,169 56.265625x40]
PaintableWithLines (BlockContainer(anonymous)) [30,180 14.265625x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [65.265625,169 54.546875x40]
PaintableWithLines (BlockContainer(anonymous)) [86.265625,180 12.546875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<TD>) [119.8125,169 51.09375x40]
PaintableWithLines (BlockContainer(anonymous)) [140.8125,180 9.09375x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [9,9 0x0]
PaintableWithLines (BlockContainer(anonymous)) [9,9 0x0]
PaintableWithLines (BlockContainer(anonymous)) [9,9 0x0]
PaintableWithLines (BlockContainer(anonymous)) [8,210 784x0]