mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 06:32:26 +02:00
Fixes #14697 Percentages inside `calc()` only got converted to the concrete type (eg, Length) when added or subtracted with one. So if the `calc ()` doesn't contain any of that type, it would resolve to a Percentage. Now, we catch that returned Percentage and convert it to the proper type. This fixes cases like `width: calc(100% / 2);`.
67 KiB
67 KiB