Andreas Kling
cc77c82383
LibWeb: Follow relaxed CSS clamping rules in flexbox layout
...
AFAICT, css-values-4 tells us that clamping numbers to a range where
min>max is okay. That means we can't use AK::clamp() since it will
VERIFY that max>=min.
This patch adds a css_clamp() helper (locally in FFC for now).
This fixes an issue where a bunch of sites were crashing due to the
VERIFY in AK::clamp().
2022-04-09 14:50:05 +02:00
..
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-03 12:58:08 +02:00
2022-03-22 19:26:51 +01:00
2022-03-22 19:26:51 +01:00
2022-03-22 19:26:51 +01:00
2022-03-26 17:31:01 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-04-09 14:50:05 +02:00
2022-04-06 11:31:08 +02:00
2022-03-24 03:35:11 +01:00
2022-04-08 20:44:23 +02:00
2022-04-06 14:43:00 +02:00
2022-03-26 17:31:01 +01:00
2022-03-26 17:31:01 +01:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-07 17:06:02 +02:00
2022-04-01 21:24:45 +01:00
2022-04-03 21:51:15 +02:00
2022-03-18 15:18:48 +01:00
2022-04-08 23:12:04 +02:00
2022-03-27 21:56:21 +02:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-03-24 22:52:44 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-03-30 01:12:44 +02:00
2022-03-26 20:04:56 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-04-02 18:40:32 +02:00
2022-04-01 21:24:45 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-19 12:42:10 +01:00
2022-03-19 12:42:10 +01:00
2022-03-17 17:23:49 +00:00
2022-03-19 12:42:10 +01:00
2022-03-19 12:42:10 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-04-03 23:12:13 +02:00
2022-03-29 00:39:57 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-29 03:05:11 +02:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00