Files
ladybird/Tests/LibWeb/Layout/expected/justify-content-flex-start.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

75 lines
4.7 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x216 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x200 children: not-inline
Box <div.grid-container> at (8,8) content-size 784x200 [GFC] children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
Box <div.grid-item> at (8,8) content-size 100x100 flex-container(row) [FFC] children: not-inline
BlockContainer <(anonymous)> at (54.828125,49) content-size 6.34375x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [54.828125,49 6.34375x18] baseline: 13.796875
"1"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
Box <div.grid-item> at (108,8) content-size 100x100 flex-container(row) [FFC] children: not-inline
BlockContainer <(anonymous)> at (153.59375,49) content-size 8.8125x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [153.59375,49 8.8125x18] baseline: 13.796875
"2"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
Box <div.grid-item> at (208,8) content-size 100x100 flex-container(row) [FFC] children: not-inline
BlockContainer <(anonymous)> at (253.453125,49) content-size 9.09375x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [253.453125,49 9.09375x18] baseline: 13.796875
"3"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
Box <div.grid-item> at (8,108) content-size 100x100 flex-container(row) [FFC] children: not-inline
BlockContainer <(anonymous)> at (54.125,149) content-size 7.75x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [54.125,149 7.75x18] baseline: 13.796875
"4"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
Box <div.grid-item> at (108,108) content-size 100x100 flex-container(row) [FFC] children: not-inline
BlockContainer <(anonymous)> at (153.765625,149) content-size 8.453125x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [153.765625,149 8.453125x18] baseline: 13.796875
"5"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
Box <div.grid-item> at (208,108) content-size 100x100 flex-container(row) [FFC] children: not-inline
BlockContainer <(anonymous)> at (253.625,149) content-size 8.734375x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [253.625,149 8.734375x18] baseline: 13.796875
"6"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x216]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x200]
PaintableBox (Box<DIV>.grid-container) [8,8 784x200]
PaintableBox (Box<DIV>.grid-item) [8,8 100x100]
PaintableWithLines (BlockContainer(anonymous)) [54.828125,49 6.34375x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<DIV>.grid-item) [108,8 100x100]
PaintableWithLines (BlockContainer(anonymous)) [153.59375,49 8.8125x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<DIV>.grid-item) [208,8 100x100]
PaintableWithLines (BlockContainer(anonymous)) [253.453125,49 9.09375x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<DIV>.grid-item) [8,108 100x100]
PaintableWithLines (BlockContainer(anonymous)) [54.125,149 7.75x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<DIV>.grid-item) [108,108 100x100]
PaintableWithLines (BlockContainer(anonymous)) [153.765625,149 8.453125x18]
TextPaintable (TextNode<#text>)
PaintableBox (Box<DIV>.grid-item) [208,108 100x100]
PaintableWithLines (BlockContainer(anonymous)) [253.625,149 8.734375x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,208 784x0]