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-06-01 09:06:13 +02:00
2023-06-01 09:06:13 +02:00
2023-05-31 10:56:32 +02:00
2023-05-31 10:56:32 +02:00
2023-03-25 16:56:04 +00:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-05-31 10:56:32 +02:00
2023-05-25 06:36:10 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-24 20:58:46 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-08 09:29:44 +02:00
2023-03-30 16:54:15 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-25 06:36:10 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-03-23 08:27:51 +00:00
2023-05-02 20:27:28 +02:00
2023-05-24 14:40:35 +02:00
2023-05-24 14:40:35 +02:00
2023-03-20 20:37:40 -04:00
2023-05-29 05:35:41 +02:00
2023-05-24 17:19:18 +02:00
2023-05-24 17:19:18 +02:00
2023-05-31 10:56:32 +02:00
2023-05-31 10:56:32 +02:00
2023-05-28 20:26:05 +02:00
2023-05-28 20:26:05 +02:00
2023-05-29 05:35:41 +02:00
2023-06-01 18:13:42 +02:00
2023-05-24 14:40:35 +02:00
2023-03-30 21:29:50 +02:00
2023-03-30 21:29:50 +02:00
2023-05-08 09:29:44 +02:00
2023-03-30 21:29:50 +02:00
2023-04-09 17:27:27 +02:00
2023-04-07 22:41:01 +02:00
2023-05-31 10:56:32 +02:00
2023-05-31 10:56:32 +02:00
2023-03-30 21:29:50 +02:00
2023-05-13 07:38:08 +02:00
2023-05-24 14:40:35 +02:00
2023-03-30 21:29:50 +02:00
2023-06-01 09:06:13 +02:00
2023-05-31 05:56:25 +02:00
2023-05-27 20:55:00 +02:00
2023-05-06 08:07:28 +02:00
2023-04-06 11:36:56 +02:00
2023-04-06 11:36:56 +02:00
2023-04-06 11:36:56 +02:00
2023-03-21 10:45:19 +01:00
2023-05-27 05:47:54 +02:00
2023-05-27 05:47:54 +02:00
2023-06-01 09:06:13 +02:00
2023-05-30 07:47:57 +02:00
2023-06-01 09:20:05 +02:00
2023-05-29 05:35:41 +02:00
2023-05-08 09:29:44 +02:00
2023-05-08 09:29:44 +02:00
2023-05-08 09:29:44 +02:00
2023-06-01 09:06:13 +02:00
2023-06-01 09:06:13 +02:00
2023-05-31 10:56:32 +02:00
2023-05-31 10:56:32 +02:00