ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

LibWeb: Ensure properties using discrete interpolation are non-transitionable

Open tcl3 opened this issue 7 months ago • 1 comments

If a property is uses discrete interpolation and TransitionBehavior is not set to AllowDiscrete that property should be non-transitionable.

This is now true for properties whose animation type is not discrete, but the animation type falls back to discrete.

This gets us +1055/-426 WPT subtest passes on various interpolation tests.

tcl3 avatar May 22 '25 16:05 tcl3

My latest push makes interpolate_value() return an empty optional rather than returning interpolate_discrete() everywhere.

tcl3 avatar May 23 '25 17:05 tcl3