mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:57:35 +00:00
AK+LibWeb: Round to int in clamp_to_int instead of truncating
This caused inaccuracies in float->CssPixel conversions
This commit is contained in:
parent
7b7ba38655
commit
af161a8b83
58 changed files with 693 additions and 692 deletions
|
@ -1,9 +1,9 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x177.015625 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x161.015625 children: not-inline
|
||||
BlockContainer <div> at (8,8) content-size 107.34375x161.015625 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x177.25 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x161.25 children: not-inline
|
||||
BlockContainer <div> at (8,8) content-size 107.5x161.25 children: not-inline
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x177.015625]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x161.015625]
|
||||
PaintableWithLines (BlockContainer<DIV>) [8,8 107.34375x161.015625]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x177.25]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x161.25]
|
||||
PaintableWithLines (BlockContainer<DIV>) [8,8 107.5x161.25]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue