mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +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.
51 lines
2.9 KiB
Plaintext
51 lines
2.9 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x286 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x270 children: not-inline
|
|
Box <div.grid-container> at (58,58) content-size 170x170 positioned [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.grid-item> at (58,58) content-size 50x50 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [58,58 6.34375x18] baseline: 13.796875
|
|
"1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.grid-item> at (128,58) content-size 100x50 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [128,58 8.8125x18] baseline: 13.796875
|
|
"2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.grid-item> at (58,128) content-size 50x100 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [58,128 9.09375x18] baseline: 13.796875
|
|
"3"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.grid-item> at (128,128) content-size 100x100 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [128,128 7.75x18] baseline: 13.796875
|
|
"4"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.abspos-box> at (8,228) content-size 270x50 positioned [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,278) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x286]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x270]
|
|
PaintableBox (Box<DIV>.grid-container) [8,8 270x270]
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item) [58,58 50x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item) [128,58 100x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item) [58,128 50x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item) [128,128 100x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.abspos-box) [8,228 270x50]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,278 784x0]
|