Files
ladybird/Tests/LibWeb/Layout/expected/getComputedStyle-on-unconnected-element.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

13 lines
700 B
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x37.84375 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x21.84375 children: inline
line 0 width: 362.609375, height: 21.84375, bottom: 21.84375, baseline: 16.921875
frag 0 from TextNode start: 0, length: 35, rect: [8,8 362.609375x21.84375]
"This test passes if we don't crash."
TextNode <#text>
PaintableWithLines (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x37.84375]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x21.84375]
TextPaintable (TextNode<#text>)