mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00: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.
134 lines
6.8 KiB
Text
134 lines
6.8 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,16) content-size 784x324 children: not-inline
|
|
BlockContainer <div> at (8,16) content-size 784x154 children: not-inline
|
|
BlockContainer <p> at (8,16) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [36.8125,16 44.75x18] baseline: 13.796875
|
|
"Never"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,16 28.8125x18] baseline: 13.796875
|
|
"1.1: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,50) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [39.28125,50 52.15625x18] baseline: 13.796875
|
|
"Gonna"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,50 31.28125x18] baseline: 13.796875
|
|
"1.2: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,84) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [39.5625,84 34.71875x18] baseline: 13.796875
|
|
"Give"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,84 31.5625x18] baseline: 13.796875
|
|
"1.3: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,118) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [38.21875,118 31.21875x18] baseline: 13.796875
|
|
"You"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,118 30.21875x18] baseline: 13.796875
|
|
"1.4: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,152) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [38.921875,152 20.71875x18] baseline: 13.796875
|
|
"Up"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,152 30.921875x18] baseline: 13.796875
|
|
"1.5: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <div> at (8,186) content-size 784x154 children: not-inline
|
|
BlockContainer <p> at (8,186) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [39.28125,186 44.75x18] baseline: 13.796875
|
|
"Never"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,186 31.28125x18] baseline: 13.796875
|
|
"2.1: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,220) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [41.75,220 52.15625x18] baseline: 13.796875
|
|
"Gonna"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,220 33.75x18] baseline: 13.796875
|
|
"2.2: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,254) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [42.03125,254 26.4375x18] baseline: 13.796875
|
|
"Let"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,254 34.03125x18] baseline: 13.796875
|
|
"2.3: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,288) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [40.6875,288 31.21875x18] baseline: 13.796875
|
|
"You"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,288 32.6875x18] baseline: 13.796875
|
|
"2.4: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <p> at (8,322) content-size 784x18 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [41.390625,322 42.328125x18] baseline: 13.796875
|
|
"Down"
|
|
InlineNode <(anonymous)>
|
|
frag 0 from TextNode start: 0, length: 5, rect: [8,322 33.390625x18] baseline: 13.796875
|
|
"2.5: "
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,356) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,16 784x324]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,16 784x154]
|
|
PaintableWithLines (BlockContainer<P>) [8,16 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,50 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,84 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,118 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,152 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [8,186 784x154]
|
|
PaintableWithLines (BlockContainer<P>) [8,186 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,220 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,254 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,288 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<P>) [8,322 784x18]
|
|
PaintableWithLines (InlineNode(anonymous))
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,356 784x0]
|