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
..
2023-05-28 21:12:04 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-05-22 06:05:19 +02:00
2023-05-10 05:52:47 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-05-11 18:36:56 +02:00
2023-05-17 07:48:38 +02:00
2023-05-17 07:48:38 +02:00
2023-06-01 13:33:35 +02:00
2023-05-17 07:48:38 +02:00
2023-05-09 06:37:30 +02:00
2023-05-31 10:56:32 +02:00
2023-05-09 06:37:30 +02:00
2023-06-01 13:33:35 +02:00
2023-05-11 18:37:06 +02:00
2023-05-13 18:43:34 +02:00
2023-05-18 18:06:05 +02:00
2023-05-31 10:56:32 +02:00
2023-05-27 05:47:54 +02:00
2023-05-27 05:47:14 +02:00
2023-05-09 06:37:30 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-05-17 09:11:29 +02:00
2023-05-13 12:53:25 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-05-09 06:37:30 +02:00
2023-05-09 06:37:30 +02:00
2023-05-09 06:37:30 +02:00
2023-05-09 06:37:30 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-05-17 07:48:38 +02:00
2023-05-24 14:40:35 +02:00
2023-06-01 18:13:42 +02:00
2023-05-09 06:37:30 +02:00