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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 17 Feb 2012 09:29:32 -0800
Message-ID: <CAAWBYDCC_vhzv0bRypq4amWNs=7QcFtOvEUf3ugCcfruwfUzMg@mail.gmail.com>
To: Aryeh Gregor <ayg@aryeh.name>
Cc: Dirk Schulze <dschulze@adobe.com>, Rik Cabanier <cabanier@gmail.com>, Chris Marrin <cmarrin@apple.com>, "L. David Baron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>
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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:56 UTC