Re: [csswg-drafts] [css-transforms] Smarter interpolation of truncated transform lists

My interpretation of the discussion was that *both* of Dirk's suggestions should be used:

* If one list is shorter than the other, pad it with identify functions to match lengths.
* Then do a compatible-prefix match, "smooshing" the incompatible suffix (if any) of each into a `matrix()` or `matrix3d()` and transitioning appropriately.

So @birtles' example should work as they expect - `rotate(0deg) translate(10px)` → `rotate(720deg) scale(2)` will do two full rotations (as `rotate()` is the compatible prefix) and then do a matrix-interpolation between `translate(10px)` and `scale(2)`.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/927#issuecomment-393699751 using your GitHub account

Received on Thursday, 31 May 2018 22:21:35 UTC