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.
127 lines
7.4 KiB
Plaintext
127 lines
7.4 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x142 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x126 children: not-inline
|
|
Box <div.container> at (8,8) content-size 784x18 [GFC] children: not-inline
|
|
BlockContainer <div> at (8,8) content-size 392x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [8,8 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (400,8) content-size 392x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [400,8 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,26) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.container> at (8,26) content-size 784x18 [GFC] children: not-inline
|
|
BlockContainer <div> at (8,26) content-size 392x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [8,26 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (400,26) content-size 392x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [400,26 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,44) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.container> at (8,44) content-size 784x18 [GFC] children: not-inline
|
|
BlockContainer <div> at (8,44) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [8,44 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (75.96875,44) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [75.96875,44 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,62) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.container> at (8,62) content-size 784x18 [GFC] children: not-inline
|
|
BlockContainer <div> at (332.03125,62) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [332.03125,62 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (400,62) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [400,62 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,80) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.container> at (8,80) content-size 784x18 [GFC] children: not-inline
|
|
BlockContainer <div> at (656.0625,80) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [656.0625,80 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (724.03125,80) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [724.03125,80 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,98) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.container> at (8,98) content-size 784x18 [GFC] children: not-inline
|
|
BlockContainer <div> at (8,98) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [8,98 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (75.96875,98) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [75.96875,98 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,116) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.container> at (8,116) content-size 784x18 [GFC] children: not-inline
|
|
BlockContainer <div> at (656.0625,116) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [656.0625,116 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (724.03125,116) content-size 67.96875x18 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [724.03125,116 67.96875x18] baseline: 13.796875
|
|
"wikipedia"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,134) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x142]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x126]
|
|
PaintableBox (Box<DIV>.container) [8,8 784x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,8 392x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [400,8 392x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,26 784x0]
|
|
PaintableBox (Box<DIV>.container) [8,26 784x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,26 392x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [400,26 392x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,44 784x0]
|
|
PaintableBox (Box<DIV>.container) [8,44 784x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,44 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [75.96875,44 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,62 784x0]
|
|
PaintableBox (Box<DIV>.container) [8,62 784x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [332.03125,62 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [400,62 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,80 784x0]
|
|
PaintableBox (Box<DIV>.container) [8,80 784x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [656.0625,80 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [724.03125,80 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,98 784x0]
|
|
PaintableBox (Box<DIV>.container) [8,98 784x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,98 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [75.96875,98 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,116 784x0]
|
|
PaintableBox (Box<DIV>.container) [8,116 784x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [656.0625,116 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [724.03125,116 67.96875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,134 784x0]
|