Files
ladybird/Tests/LibWeb/Layout/expected/table/multi-line-cell.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

45 lines
2.8 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x86 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x70 children: not-inline
TableWrapper <(anonymous)> at (8,8) content-size 81.4375x70 [BFC] children: not-inline
Box <table> at (9,9) content-size 79.4375x68 table-box [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tbody> at (11,11) content-size 75.4375x64 table-row-group children: not-inline
Box <tr> at (11,11) content-size 75.4375x22 table-row children: not-inline
BlockContainer <td> at (13,13) content-size 71.4375x18 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (13,13) content-size 71.4375x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [13,13 7.9375x18] baseline: 13.796875
"*"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box <tr> at (11,35) content-size 75.4375x40 table-row children: not-inline
BlockContainer <td> at (13,37) content-size 71.4375x36 table-cell [BFC] children: not-inline
BlockContainer <(anonymous)> at (13,37) content-size 71.4375x36 children: inline
frag 0 from TextNode start: 0, length: 9, rect: [13,37 71.4375x18] baseline: 13.796875
"*********"
frag 1 from TextNode start: 10, length: 8, rect: [13,55 63.5625x18] baseline: 13.796875
"***** **"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,78) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x86]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x70]
PaintableWithLines (TableWrapper(anonymous)) [8,8 81.4375x70]
PaintableBox (Box<TABLE>) [8,8 81.4375x70]
PaintableBox (Box<TBODY>) [11,11 75.4375x64]
PaintableBox (Box<TR>) [11,11 75.4375x22]
PaintableWithLines (BlockContainer<TD>) [11,11 75.4375x22]
PaintableWithLines (BlockContainer(anonymous)) [13,13 71.4375x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<TR>) [11,35 75.4375x40]
PaintableWithLines (BlockContainer<TD>) [11,35 75.4375x40]
PaintableWithLines (BlockContainer(anonymous)) [13,37 71.4375x36]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,78 784x0]