On Wed, Jul 16, 2014 at 5:54 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> What if we actually want to describe the desired behavior after all transformation? Without thinking about the intermediate steps and states? You know upfront that you want to rotate by 90 degree and that you want to have the object positioned 200px right from it’s current position. With CSS Transforms you either need to modify the order of the transformation or use a different approach like: rotate(90deg) translateY(200px).
>
> Shane’s approach is that you don’t need to think about all intermediate steps and just *describe* the desired transformed behavior at the end upfront. Since we do not allow the ‘translate’ property to apply more than once it is the same like setting up a fixed order.
Yes, exactly. "describe the end result" is what I've been trying to
say with "independent" and "local" and all the rest.
translate/rotate/scale would just be three thematically similar but
otherwise unrelated properties. And as it so happens, when you limit
yourself to these three types of transformations, you can implement
their behavior by prepending them to 'transform' in a specific order,
but that's an implementation detail, and has no relevance for authors.
~TJ