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

We started implementing this in Firefox but I'm a little unclear about the intention of this change. In the IRC log I see the comment:

> smfr: it's saying that it uses the common prefix for as much as possible, then smoosh together the rest into a matrix

but in the spec change we seem to only handle mismatched lists where the functions of the shorter one match primitives of the longer.

i.e. it seemed like we were initially looking at allowing `rotate(0deg) translate(10px)` → `rotate(720deg) scale(2)`  to interpolate the `rotate()` component directly and then use matrix interpolation for the remainder but the spec change would make the whole thing use matrix interpolation.

It may well be that the spec change deliberately doesn't allow the "common prefix" behavior due to compatibility concerns but I'd like to confirm we've understood the intention here since it's not clear to me from the IRC log what the outcome was.

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

Received on Monday, 28 May 2018 00:18:25 UTC