ladybird/Tests/LibWeb/Layout/expected/flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.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

21 lines
1.2 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x349 [BFC] children: not-inline
Box <body.hero> at (2,2) content-size 600x347 flex-container(column) [FFC] children: not-inline
BlockContainer <div.header> at (102,3) content-size 400x345 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [102,3 340.5x69] baseline: 52.484375
"This entire"
frag 1 from TextNode start: 12, length: 11, rect: [102,72 341.25x69] baseline: 52.484375
"text should"
frag 2 from TextNode start: 24, length: 8, rect: [102,141 274.171875x69] baseline: 52.484375
"be on an"
frag 3 from TextNode start: 33, length: 6, rect: [102,210 204.09375x69] baseline: 52.484375
"orange"
frag 4 from TextNode start: 40, length: 11, rect: [102,279 351.59375x69] baseline: 52.484375
"background."
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x351]
PaintableBox (Box<BODY>.hero) [1,1 602x349]
PaintableWithLines (BlockContainer<DIV>.header) [101,2 402x347]
TextPaintable (TextNode<#text>)