mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +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.
55 lines
3.0 KiB
Plaintext
55 lines
3.0 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x240 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x224 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.wrapper> at (8,8) content-size 784x224 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.box.a> at (28,28) content-size 170x28 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [28,28 21.40625x28] baseline: 21.1875
|
|
"A"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.box.b> at (248,28) content-size 170x28 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [248,28 14.015625x28] baseline: 21.1875
|
|
"B"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.box.c> at (28,106) content-size 60x28 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [28,106 15.46875x28] baseline: 21.1875
|
|
"C"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.box.d> at (138,106) content-size 280x28 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [138,106 16.71875x28] baseline: 21.1875
|
|
"D"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.box.e> at (28,184) content-size 390x28 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [28,184 17.796875x28] baseline: 21.1875
|
|
"E"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x240]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x224]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableBox (Box<DIV>.wrapper) [8,8 784x224]
|
|
PaintableWithLines (BlockContainer<DIV>.box.a) [8,8 210x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.b) [228,8 210x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.c) [8,86 100x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.d) [118,86 320x68]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.box.e) [8,164 430x68]
|
|
TextPaintable (TextNode<#text>)
|