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

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

From: Rik Cabanier <cabanier@gmail.com>
Date: Wed, 15 Feb 2012 11:27:44 -0800
Message-ID: <CAGN7qDC=oAU5XQt0E7sJ=2vcMLU1BzmH4L7EzYsfvtL-5LbHZQ@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>, www-style list <www-style@w3.org>
Hi Dirk,

recently you added the 3 parameter version of rotate to the transform spec:
http://dev.w3.org/csswg/css3-transforms/#two-d-transform-functions

Are you also going to update the section how this new parameter behaves in
transitions and animations? (
http://dev.w3.org/csswg/css3-transforms/#animation)
Currently, the spec states that if not specified, the default for rotate is
rotate(0). So:

@keyframes myrotate{

from{ transform: none}

to { transform: rotate(45deg, 10px, 10px); }

}


What is the initial state of rotate? Is it rotate(0, 0, 0) like the spec
implies or rotate(0, 10px, 10px) which seems more what I expect?

Rik
Received on Wednesday, 15 February 2012 19:28:12 GMT

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