ladybird/Tests/LibWeb/Layout/expected/grid/align-items.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

58 lines
3.5 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x264 [BFC] children: not-inline
BlockContainer <body> at (10,10) content-size 780x246 children: not-inline
BlockContainer <(anonymous)> at (10,10) content-size 780x0 children: inline
TextNode <#text>
Box <div.grid.start> at (31,31) content-size 738x40 [GFC] children: not-inline
BlockContainer <div> at (32,32) content-size 355.765625x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [32,32 50.203125x18] baseline: 13.796875
"Start1"
TextNode <#text>
BlockContainer <div.item-padding> at (399.765625,42) content-size 358.234375x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [399.765625,42 52.671875x18] baseline: 13.796875
"Start2"
TextNode <#text>
BlockContainer <(anonymous)> at (10,92) content-size 780x0 children: inline
TextNode <#text>
Box <div.grid.center> at (31,113) content-size 738x40 [GFC] children: not-inline
BlockContainer <div> at (32,124) content-size 355.765625x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [32,124 59.390625x18] baseline: 13.796875
"Center1"
TextNode <#text>
BlockContainer <div.item-padding> at (399.765625,124) content-size 358.234375x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [399.765625,124 61.859375x18] baseline: 13.796875
"Center2"
TextNode <#text>
BlockContainer <(anonymous)> at (10,174) content-size 780x0 children: inline
TextNode <#text>
Box <div.grid.end> at (31,195) content-size 738x40 [GFC] children: not-inline
BlockContainer <div> at (32,216) content-size 355.765625x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [32,216 35.671875x18] baseline: 13.796875
"End1"
TextNode <#text>
BlockContainer <div.item-padding> at (399.765625,206) content-size 358.234375x18 [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [399.765625,206 38.140625x18] baseline: 13.796875
"End2"
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x266]
PaintableWithLines (BlockContainer<BODY>) [9,9 782x248]
PaintableWithLines (BlockContainer(anonymous)) [10,10 780x0]
PaintableBox (Box<DIV>.grid.start) [10,10 780x82]
PaintableWithLines (BlockContainer<DIV>) [31,31 357.765625x20]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.item-padding) [388.765625,31 380.234375x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [10,92 780x0]
PaintableBox (Box<DIV>.grid.center) [10,92 780x82]
PaintableWithLines (BlockContainer<DIV>) [31,123 357.765625x20]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.item-padding) [388.765625,113 380.234375x40]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [10,174 780x0]
PaintableBox (Box<DIV>.grid.end) [10,174 780x82]
PaintableWithLines (BlockContainer<DIV>) [31,215 357.765625x20]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>.item-padding) [388.765625,195 380.234375x40]
TextPaintable (TextNode<#text>)