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.
36 lines
2.1 KiB
Plaintext
36 lines
2.1 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 650x466 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,16) content-size 634x388 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,16) content-size 634x0 children: inline
|
|
BlockContainer <div.a> at (342,16) content-size 300x225 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,16) content-size 634x72 children: inline
|
|
frag 0 from TextNode start: 0, length: 27, rect: [8,16 232.84375x18] baseline: 13.796875
|
|
"Lorem ipsum dolor sit amet,"
|
|
frag 1 from TextNode start: 28, length: 35, rect: [8,34 278.125x18] baseline: 13.796875
|
|
"consectetur adipiscing elit, sed do"
|
|
frag 2 from TextNode start: 64, length: 38, rect: [8,52 316.5x18] baseline: 13.796875
|
|
"eiusmod tempor incididunt ut labore et"
|
|
frag 3 from TextNode start: 103, length: 20, rect: [8,70 167.078125x18] baseline: 13.796875
|
|
"dolore magna aliqua."
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,104) content-size 634x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.a> at (342,241) content-size 300x225 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <div.b> at (8,104) content-size 634x300 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,404) content-size 634x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 650x466]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,16 634x388]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,16 634x0]
|
|
PaintableWithLines (BlockContainer<DIV>.a) [342,16 300x225]
|
|
PaintableWithLines (BlockContainer<P>) [8,16 634x72]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,104 634x0]
|
|
PaintableWithLines (BlockContainer<DIV>.a) [342,241 300x225]
|
|
PaintableWithLines (BlockContainer<DIV>.b) [8,104 634x300]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,404 634x0]
|