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

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.

Received on Friday, 17 February 2012 16:00:29 UTC