Re: [CSS-transforms] rotate(<angle>[, <translation-value>, <translation-value>])

On Fri, Feb 17, 2012 at 7:59 AM, Aryeh Gregor <ayg@aryeh.name> wrote:
> On Thu, Feb 16, 2012 at 5:14 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> Well, the initial value would be rotate(0,0,0). Therefore no. If you want to
>> always have the animation around (10,10) , you would need to define it in
>> 'from'.
>
> I suggest that if the extra two arguments are left in the spec (which
> I'm still not a fan of), an extra special case be added to the
> transitions part so that it works as expected.  Transitioning from
> 'none' to rotate3d(0, 0, 1, 45deg) rotates only around the z-axis as
> expected, and transitioning a color from green to transparent
> shouldn't make it black in between even though you're technically
> going from rgba(0, 128, 0, 1) to rgba(0, 0, 0, 0).  Likewise,
> transitioning from none to rotate(45deg, 10px, 10px) should be treated
> like transitioning from rotate(0deg, 10px, 10px).  Anything else is
> not expected, IMO.

Note that we fixed the color transition by specifying that it happens
in premultiplied space; that's not the same thing as what you're
asking for.

However, I think what you're asking for is reasonable.

~TJ

Received on Friday, 17 February 2012 17:30:23 UTC