ladybird/Tests/LibWeb/Layout/expected/grid/css-calc-in-grid-position.txt
Jelle Raaijmakers 71665fa504 LibWeb: Scale font size by 1.15 for line-height: normal
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.
2025-05-05 13:15:56 +02:00

63 lines
3.2 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x52 [BFC] children: not-inline
Box <body> at (8,8) content-size 600x36 [GFC] children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
TextNode <#text>
BlockContainer <div.title> at (8,8) content-size 198.25x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [8,8 45.578125x18] baseline: 13.796875
"title 1"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
BlockContainer <div.text> at (8,26) content-size 198.25x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [8,26 46.484375x18] baseline: 13.796875
"text 1"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <div.title> at (206.25,8) content-size 200.71875x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [206.25,8 48.046875x18] baseline: 13.796875
"title 2"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
BlockContainer <div.text> at (206.25,26) content-size 200.71875x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [206.25,26 48.953125x18] baseline: 13.796875
"text 2"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <div.title> at (406.96875,8) content-size 201x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [406.96875,8 48.328125x18] baseline: 13.796875
"title 3"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
BlockContainer <div.text> at (406.96875,26) content-size 201x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [406.96875,26 49.234375x18] baseline: 13.796875
"text 3"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x52]
PaintableBox (Box<BODY>) [8,8 600x36]
PaintableWithLines (BlockContainer<DIV>.title) [8,8 198.25x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.text) [8,26 198.25x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.title) [206.25,8 200.71875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.text) [206.25,26 200.71875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.title) [406.96875,8 201x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.text) [406.96875,26 201x18]
TextPaintable (TextNode<#text>)