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
..
2025-01-28 11:31:46 +00:00
2025-01-09 14:08:23 +00:00
2025-01-21 11:34:06 -05:00
2025-01-21 11:34:06 -05:00
2025-01-27 12:24:48 +01:00
2025-01-30 19:31:54 +01:00
2025-01-30 18:37:53 +01:00
2025-01-21 11:34:06 -05:00
2025-01-22 12:33:55 +00:00
2025-01-24 23:53:26 +01:00
2025-01-21 21:36:05 +01:00
2025-01-27 14:53:33 +01:00
2025-01-28 11:39:23 +00:00
2025-01-30 18:37:53 +01:00
2025-01-30 19:31:54 +01:00
2025-01-14 23:46:09 +01:00
2025-01-22 12:33:55 +00:00
2025-01-21 11:34:06 -05:00
2025-01-30 19:31:54 +01:00
2025-01-12 00:35:58 +01:00
2025-01-12 00:35:58 +01:00
2025-01-21 11:34:06 -05:00
2025-01-27 14:53:33 +01:00
2025-01-27 00:03:07 +00:00
2025-01-30 19:31:54 +01:00
2025-01-12 00:35:58 +01:00
2025-01-02 10:47:21 +01:00
2025-01-21 11:34:06 -05:00
2025-01-24 23:53:26 +01:00
2025-01-22 12:33:55 +00:00
2025-01-21 19:22:07 +00:00
2025-01-21 11:34:06 -05:00
2025-01-30 19:31:54 +01:00
2025-01-12 00:35:58 +01:00
2025-01-27 18:07:17 +00:00
2025-01-27 14:53:33 +01:00
2025-01-21 11:34:06 -05:00
2025-01-21 11:34:06 -05:00
2025-01-28 19:01:40 +01:00
2025-01-23 21:39:02 +01:00
2025-01-22 12:33:55 +00:00
2024-11-15 14:49:20 +01:00
2025-01-22 12:33:55 +00:00
2025-01-12 00:35:58 +01:00
2025-01-21 11:34:06 -05:00
2025-01-30 19:31:54 +01:00
2025-01-23 09:33:10 +01:00
2024-12-22 10:12:49 +01:00
2025-01-27 18:07:17 +00:00
2025-01-27 18:07:17 +00:00
2024-11-10 12:50:45 +01:00
2025-01-12 00:35:58 +01:00
2025-01-12 00:35:58 +01:00
2024-11-10 12:50:45 +01:00
2025-01-23 09:33:10 +01:00