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.
40 lines
2.3 KiB
Plaintext
40 lines
2.3 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x692 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 780x674 children: not-inline
|
|
Box <div.grid> at (11,11) content-size 778x672 [GFC] children: not-inline
|
|
BlockContainer <div.a> at (12,12) content-size 775.984375x334 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [12,12 9.34375x18] baseline: 13.796875
|
|
"a"
|
|
TextNode <#text>
|
|
BlockContainer <div.b> at (12,348) content-size 257.328125x334 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [12,348 9.46875x18] baseline: 13.796875
|
|
"b"
|
|
TextNode <#text>
|
|
BlockContainer <div.c> at (271.328125,348) content-size 257.328125x334 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [271.328125,348 8.890625x18] baseline: 13.796875
|
|
"c"
|
|
TextNode <#text>
|
|
BlockContainer <div.d> at (530.65625,348) content-size 257.328125x166 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [530.65625,348 7.859375x18] baseline: 13.796875
|
|
"d"
|
|
TextNode <#text>
|
|
BlockContainer <div.e> at (530.65625,516) content-size 257.328125x166 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [530.65625,516 8.71875x18] baseline: 13.796875
|
|
"e"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x694]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x694]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 782x676]
|
|
PaintableBox (Box<DIV>.grid) [10,10 780x674]
|
|
PaintableWithLines (BlockContainer<DIV>.a) [11,11 777.984375x336]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.b) [11,347 259.328125x336]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.c) [270.328125,347 259.328125x336]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.d) [529.65625,347 259.328125x168]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.e) [529.65625,515 259.328125x168]
|
|
TextPaintable (TextNode<#text>)
|