mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
When a `@keyframes` rule contains `animation-timing-function` with a `var()`, we cannot eagerly resolve it to an `EasingFunction` at rule cache build time because there is no element context available. We now store the unresolved `StyleValue` and defer resolution to `collect_animation_into()`, where the animated element's custom properties can be used to substitute the variable. Previously, an `animation-timing-function` with a `var()` in a `@keyframe` would cause a crash.
4 lines
92 B
Plaintext
4 lines
92 B
Plaintext
var(linear) at 0.5: 100px
|
|
var(undefined, linear) at 0.5: 100px
|
|
var(undefined) at 0.5: 100px
|