mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +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.
2 lines
166 B
Plaintext
2 lines
166 B
Plaintext
.a { transition-property: var(--a); transition-duration: var(--b); transition-timing-function: var(--c); transition-delay: var(--d); transition-behavior: var(--e); }
|