Files
ladybird/Tests/LibWeb/Text/expected/css/animation-timing-function-var-in-keyframe.txt
Tim Ledbetter af6bc07c4f LibWeb/CSS: Resolve var() in keyframe animation-timing-function
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.
2026-04-01 11:38:48 +01:00

4 lines
92 B
Plaintext

var(linear) at 0.5: 100px
var(undefined, linear) at 0.5: 100px
var(undefined) at 0.5: 100px