ladybird/Tests/LibWeb/Layout/expected/input-file.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

80 lines
5.6 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,8) content-size 784x22 children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 236.65625x22] baseline: 15.796875
frag 1 from TextNode start: 0, length: 1, rect: [244.65625,10 8x18] baseline: 13.796875
" "
frag 2 from BlockContainer start: 0, length: 0, rect: [252.65625,8 255.34375x22] baseline: 15.796875
frag 3 from TextNode start: 0, length: 1, rect: [508,10 8x18] baseline: 13.796875
" "
frag 4 from BlockContainer start: 0, length: 0, rect: [516,8 255.34375x22] baseline: 15.796875
BlockContainer <input> at (8,8) content-size 236.65625x22 inline-block [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 94.375x18] baseline: 15.796875
frag 1 from Label start: 0, length: 0, rect: [116.375,10 128.28125x18] baseline: 13.796875
BlockContainer <button> at (13,10) content-size 94.375x18 inline-block [BFC] children: not-inline
BlockContainer <(anonymous)> at (13,10) content-size 94.375x18 flex-container(column) [FFC] children: not-inline
BlockContainer <(anonymous)> at (13,10) content-size 94.375x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [13,10 94.375x18] baseline: 13.796875
"Select file..."
TextNode <#text>
Label <label> at (116.375,10) content-size 128.28125x18 inline-block [BFC] children: inline
frag 0 from TextNode start: 0, length: 17, rect: [116.375,10 128.28125x18] baseline: 13.796875
"No file selected."
TextNode <#text>
TextNode <#text>
BlockContainer <input> at (252.65625,8) content-size 255.34375x22 inline-block [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [257.65625,10 103.71875x18] baseline: 15.796875
frag 1 from Label start: 0, length: 0, rect: [370.375,10 137.625x18] baseline: 13.796875
BlockContainer <button> at (257.65625,10) content-size 103.71875x18 inline-block [BFC] children: not-inline
BlockContainer <(anonymous)> at (257.65625,10) content-size 103.71875x18 flex-container(column) [FFC] children: not-inline
BlockContainer <(anonymous)> at (257.65625,10) content-size 103.71875x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [257.65625,10 103.71875x18] baseline: 13.796875
"Select files..."
TextNode <#text>
Label <label> at (370.375,10) content-size 137.625x18 inline-block [BFC] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [370.375,10 137.625x18] baseline: 13.796875
"No files selected."
TextNode <#text>
TextNode <#text>
BlockContainer <input#multiple> at (516,8) content-size 255.34375x22 inline-block [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [521,10 103.71875x18] baseline: 15.796875
frag 1 from Label start: 0, length: 0, rect: [633.71875,10 137.625x18] baseline: 13.796875
BlockContainer <button> at (521,10) content-size 103.71875x18 inline-block [BFC] children: not-inline
BlockContainer <(anonymous)> at (521,10) content-size 103.71875x18 flex-container(column) [FFC] children: not-inline
BlockContainer <(anonymous)> at (521,10) content-size 103.71875x18 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [521,10 103.71875x18] baseline: 13.796875
"Select files..."
TextNode <#text>
Label <label> at (633.71875,10) content-size 137.625x18 inline-block [BFC] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [633.71875,10 137.625x18] baseline: 13.796875
"No files selected."
TextNode <#text>
TextNode <#text>
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x22]
PaintableWithLines (BlockContainer<INPUT>) [8,8 236.65625x22]
PaintableWithLines (BlockContainer<BUTTON>) [8,8 104.375x22]
PaintableWithLines (BlockContainer(anonymous)) [13,10 94.375x18]
PaintableWithLines (BlockContainer(anonymous)) [13,10 94.375x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (Label<LABEL>) [112.375,10 132.28125x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<INPUT>) [252.65625,8 255.34375x22]
PaintableWithLines (BlockContainer<BUTTON>) [252.65625,8 113.71875x22]
PaintableWithLines (BlockContainer(anonymous)) [257.65625,10 103.71875x18]
PaintableWithLines (BlockContainer(anonymous)) [257.65625,10 103.71875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (Label<LABEL>) [366.375,10 141.625x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<INPUT>#multiple) [516,8 255.34375x22]
PaintableWithLines (BlockContainer<BUTTON>) [516,8 113.71875x22]
PaintableWithLines (BlockContainer(anonymous)) [521,10 103.71875x18]
PaintableWithLines (BlockContainer(anonymous)) [521,10 103.71875x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (Label<LABEL>) [629.71875,10 141.625x18]
TextPaintable (TextNode<#text>)