W3C home > Mailing lists > Public > www-style@w3.org > February 2012

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

From: Aryeh Gregor <ayg@aryeh.name>
Date: Fri, 17 Feb 2012 10:59:33 -0500
Message-ID: <CAKA+Axk=-C3tTdoKRU3g2Be=GV3aeiNfqYot3205h6fZVP2K=w@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: Rik Cabanier <cabanier@gmail.com>, Chris Marrin <cmarrin@apple.com>, "L. David Baron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT