Sam Atkins
ee712bd98f
LibWeb/CSS: Simplify calculations after parsing them
...
If a calculation was simplified down to a single numeric node, then most
of the time we can instead return a regular StyleValue, for example
`calc(2px + 3px)` would be simplified down to a `5px` LengthStyleValue.
This means that parse_calculated_value() can't return a
CalculatedStyleValue directly, and its callers all have to handle
non-calculated values as well as calculated ones.
This simplification is reflected in the new test results. Serialization
is not yet correct in all cases but we're closer than we were. :^)
2025-01-30 19:31:54 +01:00
..
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-16 08:34:31 +02:00
2024-08-19 09:03:22 +02:00
2025-01-30 19:31:54 +01:00
2024-10-16 16:39:47 +02:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-06-14 20:45:37 +02:00
2024-10-23 06:55:37 +01:00
2024-10-23 06:55:37 +01:00
2024-10-30 17:30:58 +01:00
2025-01-28 11:24:40 +00:00
2025-01-28 11:38:06 +00:00
2024-11-21 13:16:08 +01:00
2025-01-28 11:24:40 +00:00
2024-08-05 09:55:50 +02:00
2024-10-03 07:07:28 -04:00
2024-11-03 17:35:20 +01:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-02 16:28:55 +01:00
2024-11-18 17:38:03 -05:00
2024-10-24 17:50:19 +02:00
2024-11-14 19:50:22 +01:00
2024-10-03 07:07:28 -04:00
2025-01-28 11:24:40 +00:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-30 20:58:16 +01:00
2024-10-12 19:20:22 +02:00
2025-01-13 23:03:07 +01:00
2024-11-14 19:51:45 +01:00
2024-11-25 11:51:50 +01:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-14 08:08:37 +02:00
2024-11-25 11:51:50 +01:00
2024-10-03 07:07:28 -04:00
2024-08-04 11:49:44 +02:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-11-14 13:20:01 +01:00
2024-11-25 11:51:50 +01:00
2025-01-04 18:47:44 +00:00
2024-08-22 13:49:41 +02:00
2024-11-25 11:51:50 +01:00
2024-10-03 07:07:28 -04:00
2024-11-07 15:11:24 +01:00
2024-10-03 07:07:28 -04:00
2024-07-04 14:41:35 +02:00
2024-10-03 07:07:28 -04:00
2024-10-15 08:43:26 -04:00
2024-10-07 14:57:15 +01:00
2024-11-05 14:01:45 +00:00
2024-12-19 19:35:57 +00:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00