mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +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.
20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (2,2) content-size 796x64 [BFC] children: not-inline
|
|
BlockContainer <body> at (12,12) content-size 600x44 children: not-inline
|
|
BlockContainer <div.exekiller> at (14,14) content-size 200x18 positioned children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [14,14 65.4375x18] baseline: 13.796875
|
|
"exekiller"
|
|
TextNode <#text>
|
|
BlockContainer <div.athena> at (24,26) content-size 200x18 positioned children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [24,26 53.171875x18] baseline: 13.796875
|
|
"athena"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x68]
|
|
PaintableWithLines (BlockContainer<BODY>) [10,10 604x48]
|
|
PaintableWithLines (BlockContainer<DIV>.exekiller) [12,12 204x22]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.athena) [22,24 204x22]
|
|
TextPaintable (TextNode<#text>)
|