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

This seems to be the key suggestion from the linked thread.
> I wonder if we could take this a bit further - rather than just
removing identical prefixes (where both the functions and arguments
match), we could find the prefix that just has functions matching,
with potentially different arguments.  Then we can interpolate that
common prefix normally, and run the rest of the two states back
through the list again as you describe, either matching the remainder
up with identity transforms or mashing the remainder up into a matrix.

My interpretation of this is that `translateX(100px) scaleX(2) 
rotateX(90deg)` interpolating with `translateY(100px) scaleY(2) 
rotateY(90deg)` would use pairwise function interpolation for 
`translate` and `scale` and use post multiplied matrix interpolation 
for `rotate`.

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

Received on Monday, 6 February 2017 00:16:41 UTC