1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:37:45 +00:00
serenity/Userland
Andreas Kling 1a6a4ca7d4 LibWeb: Round lengths to 3 decimals after resolving from percentage
This is a hack to emulate the behavior of other engines that use
fixed-point math. By rounding to 3 decimals, we retain a fair amount of
detail, while still allowing overshooting 100% without breaking lines.

This is both gross and slow, but it fixes real sites. Notably, the
popular Bootstrap library uses overshooting percentages in their
12-column grid system.

This hack can be removed when CSSPixels is made a fixed-point type.
2023-06-01 18:13:42 +02:00
..
Applets AudioApplet: Read and apply config value only once 2023-05-29 13:22:58 +02:00
Applications KeyboardMapper: Do not drop the unix pledge 2023-05-31 16:25:01 +02:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos LibGUI: Allow FilteringProxyModel to optionally sort results by score 2023-05-29 10:47:48 -06:00
DevTools LibGUI: Add support for jumping to a line and column in TextEditor 2023-06-01 06:26:40 +02:00
DynamicLoader DynamicLoader: Ensure that backtrace computation stops at _start 2023-04-23 14:30:59 +02:00
Games Chess+ChessEngine: Fix stockfish by setting correct blocking flag 2023-05-27 18:44:21 +02:00
Libraries LibWeb: Round lengths to 3 decimals after resolving from percentage 2023-06-01 18:13:42 +02:00
Services NotificationServer: Stop notifications showing in the top left at first 2023-05-31 14:45:54 +02:00
Shell Shell: Prefer File and FileSystem over DeprecatedFile 2023-05-30 00:21:59 +02:00
Utilities run-tests: Unlink coredumps in self-test mode 2023-06-01 09:04:20 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00