mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
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.
30 lines
1.9 KiB
Plaintext
30 lines
1.9 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x218 [BFC] children: not-inline
|
|
TableWrapper <(anonymous)> at (9,9) content-size 302x202 [BFC] children: not-inline
|
|
Box <body.table> at (10,10) content-size 300x200 table-box [TFC] children: not-inline
|
|
Box <div.bottom> at (10,10) content-size 300x100 table-footer-group children: inline
|
|
Box <(anonymous)> at (10,10) content-size 300x100 table-row children: inline
|
|
BlockContainer <(anonymous)> at (10,10) content-size 300x18 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [10,10 56.109375x18] baseline: 13.796875
|
|
"bottom"
|
|
TextNode <#text>
|
|
Box <div.top> at (10,110) content-size 300x100 table-header-group children: inline
|
|
Box <(anonymous)> at (10,110) content-size 300x100 table-row children: inline
|
|
BlockContainer <(anonymous)> at (10,110) content-size 300x18 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [10,110 26.640625x18] baseline: 13.796875
|
|
"top"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x220]
|
|
PaintableWithLines (TableWrapper(anonymous)) [9,9 302x202]
|
|
PaintableBox (Box<BODY>.table) [9,9 302x202]
|
|
PaintableBox (Box<DIV>.bottom) [10,10 300x100]
|
|
PaintableBox (Box(anonymous)) [10,10 300x100]
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,10 300x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<DIV>.top) [10,110 300x100]
|
|
PaintableBox (Box(anonymous)) [10,110 300x100]
|
|
PaintableWithLines (BlockContainer(anonymous)) [10,110 300x100]
|
|
TextPaintable (TextNode<#text>)
|