mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
When CSSRule.cssText is accessed, shorthands are recomposed from individual longhand declarations. For coordinating-list shorthands, the `serialize()` function always assumed that each sub-property was a value list. This caused a crash for longhands containing `var()`. We now fall back to serializing properties individually if any sub property contains `var()`. This matches the behavior of other engines.
363 B
363 B