Files
ladybird/Tests/LibWeb/Text/expected/css/transform-non-invertible-discrete-fallback.txt
Andreas Kling 36e05884f4 LibWeb: Fall back to discrete interpolation for non-invertible matrices
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.
2026-03-21 23:16:32 -05:00

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)