mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
Per the CSS Transforms spec, when one of the matrices for interpolation is non-invertible (i.e. cannot be decomposed), the animation must fall back to discrete interpolation. Previously we would silently drop the transform, producing "none". Now we correctly snap between the from/to values at the 50% progress mark, matching the behavior required by the spec and other browsers. Also propagate to_matrix() errors instead of silently using a partial result, and use the previously-unused AllowDiscrete parameter.
3 lines
66 B
Plaintext
3 lines
66 B
Plaintext
at 0.2: matrix(2, 0, 0, 2, 0, 0)
|
|
at 0.8: matrix(1, 0, 0, 1, 0, 0)
|