Files
ladybird/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-text-in-between.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

51 lines
3.1 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x600 [BFC] children: not-inline
BlockContainer <body> at (252,10) content-size 538x432 children: inline
frag 0 from TextNode start: 1, length: 21, rect: [554,10 228.375x23] baseline: 17.5
"Lorem ipsum dolor sit"
frag 1 from TextNode start: 23, length: 17, rect: [554,33 183.8125x23] baseline: 17.5
"amet, consectetur"
frag 2 from TextNode start: 41, length: 16, rect: [554,56 140.59375x23] baseline: 17.5
"adipiscing elit."
frag 3 from TextNode start: 58, length: 13, rect: [554,79 145.0625x23] baseline: 17.5
"Suspendisse a"
frag 4 from TextNode start: 72, length: 19, rect: [554,102 196.734375x23] baseline: 17.5
"placerat mauris, ut"
frag 5 from TextNode start: 92, length: 22, rect: [554,125 234.71875x23] baseline: 17.5
"elementum mi. Morbi ut"
frag 6 from TextNode start: 115, length: 20, rect: [554,148 201.5625x23] baseline: 17.5
"vehicula ipsum, eget"
frag 7 from TextNode start: 136, length: 23, rect: [554,171 232.609375x23] baseline: 17.5
"placerat augue. Integer"
frag 8 from TextNode start: 160, length: 20, rect: [252,212 202.984375x23] baseline: 17.5
"rutrum nisi eget dui"
frag 9 from TextNode start: 181, length: 19, rect: [252,235 208.84375x23] baseline: 17.5
"dictum, eu accumsan"
frag 10 from TextNode start: 201, length: 18, rect: [252,258 180.234375x23] baseline: 17.5
"enim tristique. Ut"
frag 11 from TextNode start: 220, length: 19, rect: [252,281 195.328125x23] baseline: 17.5
"lobortis lorem eget"
frag 12 from TextNode start: 240, length: 22, rect: [252,304 223x23] baseline: 17.5
"est vulputate egestas."
frag 13 from TextNode start: 263, length: 23, rect: [252,327 223.203125x23] baseline: 17.5
"Integer laoreet lacinia"
frag 14 from TextNode start: 287, length: 22, rect: [252,350 222.71875x23] baseline: 17.5
"ante sodales lobortis."
frag 15 from TextNode start: 310, length: 17, rect: [252,373 178.328125x23] baseline: 17.5
"Donec a tincidunt"
frag 16 from TextNode start: 328, length: 22, rect: [252,396 231.15625x23] baseline: 17.5
"ante. Phasellus a arcu"
frag 17 from TextNode start: 351, length: 7, rect: [252,419 70.5625x23] baseline: 17.5
"tortor."
BlockContainer <div.left> at (253,11) content-size 300x200 floating [BFC] children: not-inline
TextNode <#text>
BlockContainer <div.right> at (489,213) content-size 300x200 floating [BFC] children: not-inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x602]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x602]
PaintableWithLines (BlockContainer<BODY>) [251,9 540x434]
PaintableWithLines (BlockContainer<DIV>.left) [252,10 302x202]
PaintableWithLines (BlockContainer<DIV>.right) [488,212 302x202]
TextPaintable (TextNode<#text>)