diff options
author | Andreas Kling <kling@serenityos.org> | 2023-05-24 10:50:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-24 14:40:35 +0200 |
commit | 655d9d14628d73113d0e1a891fe79c3b3052caf3 (patch) | |
tree | 7f04312628c7ebda45b174043bc02adab8385480 /Userland/Shell | |
parent | 30262d702356cdef330a7a3e57da3183b643ba86 (diff) | |
download | serenity-655d9d14628d73113d0e1a891fe79c3b3052caf3.zip |
LibWeb: Make CSSPixels and Length use 64-bit (double) floating point
This fixes a plethora of rounding problems on many websites.
In the future, we may want to replace this with fixed-point arithmetic
(bug #18566) for performance (and consistency with other engines),
but in the meantime this makes the web look a bit better. :^)
There's a lot more things that could be converted to doubles, which
would reduce the amount of casting necessary in this patch.
We can do that incrementally, however.
Diffstat (limited to 'Userland/Shell')
0 files changed, 0 insertions, 0 deletions