mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05: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.
32 lines
1.9 KiB
Plaintext
32 lines
1.9 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x976 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 600x960 children: not-inline
|
|
BlockContainer <div.normal> at (18,18) content-size 300x300 children: not-inline
|
|
BlockContainer <div#top> at (8,328) content-size 100x100 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [8,328 26.640625x18] baseline: 13.796875
|
|
"top"
|
|
TextNode <#text>
|
|
BlockContainer <div#left> at (8,428) content-size 100x100 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [8,428 26.25x18] baseline: 13.796875
|
|
"left"
|
|
TextNode <#text>
|
|
BlockContainer <div#right> at (108,428) content-size 100x100 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [108,428 37.109375x18] baseline: 13.796875
|
|
"right"
|
|
TextNode <#text>
|
|
BlockContainer <div.normal> at (18,338) content-size 300x300 children: not-inline
|
|
BlockContainer <div.normal> at (18,658) content-size 300x300 children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x976]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x976]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 600x960]
|
|
PaintableWithLines (BlockContainer<DIV>.normal) [8,8 320x320]
|
|
PaintableWithLines (BlockContainer<DIV>#top) [8,328 100x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>#left) [8,428 100x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>#right) [108,428 100x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.normal) [8,328 320x320]
|
|
PaintableWithLines (BlockContainer<DIV>.normal) [8,648 320x320]
|