1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 03:48:13 +00:00
serenity/Tests/LibWeb/Layout/expected/css-font-size-calc.txt
Hendiadyoin1 af161a8b83 AK+LibWeb: Round to int in clamp_to_int instead of truncating
This caused inaccuracies in float->CssPixel conversions
2023-08-05 20:03:09 +02:00

12 lines
672 B
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x125.1875 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x109.1875 children: inline
line 0 width: 644.625, height: 109.1875, bottom: 109.1875, baseline: 84.578125
frag 0 from TextNode start: 0, length: 13, rect: [8,8 644.625x109.1875]
"Hello friends"
TextNode <#text>
PaintableWithLines (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x125.1875]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x109.1875]
TextPaintable (TextNode<#text>)