ladybird/Tests/LibWeb/Layout/expected/table/rows-height-distribution-4.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

31 lines
2 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x316 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x300 children: not-inline
TableWrapper <(anonymous)> at (8,8) content-size 200x300 [BFC] children: not-inline
Box <div.table> at (8,8) content-size 200x300 table-box [TFC] children: not-inline
Box <div.row.a> at (8,8) content-size 200x100 table-row children: not-inline
BlockContainer <div.cell> at (8,8) content-size 200x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 200x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 9.34375x18] baseline: 13.796875
"a"
TextNode <#text>
Box <div.row.b> at (8,108) content-size 200x200 table-row children: not-inline
BlockContainer <div.cell> at (8,108) content-size 200x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (8,108) content-size 200x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,108 9.46875x18] baseline: 13.796875
"b"
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x316]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x300]
PaintableWithLines (TableWrapper(anonymous)) [8,8 200x300]
PaintableBox (Box<DIV>.table) [8,8 200x300]
PaintableBox (Box<DIV>.row.a) [8,8 200x100]
PaintableWithLines (BlockContainer<DIV>.cell) [8,8 200x100]
PaintableWithLines (BlockContainer(anonymous)) [8,8 200x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<DIV>.row.b) [8,108 200x200]
PaintableWithLines (BlockContainer<DIV>.cell) [8,108 200x200]
PaintableWithLines (BlockContainer(anonymous)) [8,108 200x18]
TextPaintable (TextNode<#text>)