Andreas Kling
ba78fe008f
LibWeb: Add CSS::Size to represent the full range of CSS size values
...
Until now, we've been using CSS::LengthPercentage, sometimes wrapped in
Optional, to represent CSS sizes.
This meant we could not support modern values like `min-content`,
`max-content`, `fit-content(<length>)`. We were also conflating `none`
and `auto` which made the `min-*` and `max-*` properties confusing.
The new CSS::Size class covers all possible size values as individual
substates. It'll be quite a bit of work to make all layout code aware of
the additional features, this patch merely makes the new type available.
2022-09-25 17:51:43 +02:00
..
2022-09-22 02:04:23 +02:00
2022-07-27 17:03:55 +02:00
2022-07-27 17:03:55 +02:00
2022-09-16 10:50:48 +01:00
2022-08-07 22:40:11 +02:00
2022-08-07 22:40:11 +02:00
2022-09-16 10:50:48 +01:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-14 10:50:33 +01:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-15 16:16:56 +02:00
2022-07-23 01:45:49 +02:00
2022-07-27 17:03:55 +02:00
2022-07-27 17:03:55 +02:00
2022-09-14 00:09:14 +02:00
2022-09-14 00:09:14 +02:00
2022-09-15 14:45:38 +01:00
2022-09-15 14:45:38 +01:00
2022-07-23 01:45:49 +02:00
2022-09-15 14:45:38 +01:00
2022-09-15 14:45:38 +01:00
2022-09-15 14:45:38 +01:00
2022-09-15 14:45:38 +01:00
2022-07-29 17:15:49 +01:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-07-12 23:11:35 +02:00
2022-09-24 19:31:39 +01:00
2022-09-24 19:31:39 +01:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-16 10:50:48 +01:00
2022-07-21 16:36:08 +02:00
2022-09-16 10:50:48 +01:00
2022-07-12 23:11:35 +02:00
2022-09-16 10:50:48 +01:00
2022-09-20 14:48:07 +02:00
2022-09-15 14:45:38 +01:00
2022-09-06 00:27:09 +02:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-07-23 01:45:49 +02:00
2022-09-15 16:16:56 +02:00
2022-09-15 16:16:56 +02:00
2022-09-14 10:50:33 +01:00
2022-09-14 10:50:33 +01:00
2022-09-25 17:51:43 +02:00
2022-09-25 17:51:43 +02:00
2022-09-17 21:27:32 +02:00
2022-09-06 00:27:09 +02:00
2022-09-17 21:27:32 +02:00
2022-09-16 10:50:48 +01:00
2022-09-06 00:27:09 +02:00
2022-09-21 21:12:24 +01:00
2022-09-09 15:20:10 +02:00
2022-09-21 21:12:24 +01:00
2022-09-06 00:27:09 +02:00
2022-09-16 10:50:48 +01:00
2022-09-16 10:50:48 +01:00
2022-07-12 23:11:35 +02:00
2022-07-27 17:03:55 +02:00
2022-07-27 17:03:55 +02:00
2022-09-18 13:27:24 -04:00