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

44 lines
2.8 KiB
Plaintext

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 784x260 children: not-inline
BlockContainer <form> at (8,8) content-size 784x260 children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,216 48x48] baseline: 48
frag 1 from TextNode start: 0, length: 1, rect: [56,250 8x18] baseline: 13.796875
" "
frag 2 from ImageBox start: 0, length: 0, rect: [64,200 64x64] baseline: 64
frag 3 from TextNode start: 0, length: 1, rect: [128,250 8x18] baseline: 13.796875
" "
frag 4 from ImageBox start: 0, length: 0, rect: [136,8 128x256] baseline: 256
TextNode <#text>
ImageBox <input> at (8,216) content-size 48x48 inline-block children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 784x0 flex-container(column) [FFC] children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 0x0 [BFC] children: not-inline
TextNode <#text>
ImageBox <input> at (64,200) content-size 64x64 inline-block children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 784x0 flex-container(column) [FFC] children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 0x0 [BFC] children: not-inline
TextNode <#text>
ImageBox <input> at (136,8) content-size 128x256 inline-block children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 784x0 flex-container(column) [FFC] children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 0x0 [BFC] children: not-inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,284) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x260]
PaintableWithLines (BlockContainer<FORM>) [8,8 784x260]
ImagePaintable (ImageBox<INPUT>) [8,216 48x48]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (BlockContainer(anonymous)) [8,8 0x0]
TextPaintable (TextNode<#text>)
ImagePaintable (ImageBox<INPUT>) [64,200 64x64]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (BlockContainer(anonymous)) [8,8 0x0]
TextPaintable (TextNode<#text>)
ImagePaintable (ImageBox<INPUT>) [136,8 128x256]
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
PaintableWithLines (BlockContainer(anonymous)) [8,8 0x0]
PaintableWithLines (BlockContainer(anonymous)) [8,284 784x0]