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

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

From: Rik Cabanier <cabanier@gmail.com>
Date: Wed, 15 Feb 2012 13:09:53 -0800
Message-ID: <CAGN7qDC=H4=WHZ70ts4GSSUumV3xQ2oWuZghm=2WF+h5jOrZjQ@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "L. David Baron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>
Hi Dirk,

just to make it clear to me. The issue you are trying to resolve is if you
have content that is like:
<HTML>

...
<svg>

...
<g id='id' transform="rotate(45, 10, 10)">


and you call:

getcomputedStyle(document.getElementById("id")).transform

it should return:

"rotate(45deg, 10px, 10px)"




On Wed, Feb 15, 2012 at 12:27 PM, Dirk Schulze <dschulze@adobe.com> wrote:

> Hi,
>
> I'm sorry, that I missed this threat. This is in discussion on the thread
> with the tittle: [css3-transforms] translate() vs. translate3d() [1]
>
> I tried to describe the benefits for CSS[2] but more necessary the
> requirements for SVG [3]. This is the last blocking issue for compliance
> between CSS Transforms and SVG Transforms for transformation functions.
> That is the reason why I think it is necessary to leave it in. Like I wrote
> before, it doesn't break existing content. These are just two more optional
> arguments, and it is easy to implement. It is already done for the SVG
> implementation on all browser anyway. So SVG authors would expect that it
> works on CSS as well, beside that if it is not supported we would break
> existing SVG content. And for SVG a rotate with three arguments is used a
> lot!
>
> Greetings,
> Dirk
>
> [1] http://lists.w3.org/Archives/Public/www-style/2012Feb/0488.html
> [2] http://lists.w3.org/Archives/Public/www-style/2012Feb/0513.html
> [3] http://lists.w3.org/Archives/Public/www-style/2012Feb/0521.html
>
> On Feb 15, 2012, at 11:37 AM, L. David Baron wrote:
>
> > On Wednesday 2012-02-15 11:27 -0800, Rik Cabanier wrote:
> >> recently you added the 3 parameter version of rotate to the transform
> spec:
> >> http://dev.w3.org/csswg/css3-transforms/#two-d-transform-functions
> >
> > I'd rather see this removed; I think we should try to advance the
> > current (widely-implemented) feature set rather than add more
> > features to this level of the specification.
> >
> > -David
> >
> > --
> > 𝄞   L. David Baron                         http://dbaron.org/   𝄂
> > 𝄢   Mozilla                           http://www.mozilla.org/   𝄂
>
>
Received on Wednesday, 15 February 2012 21:10:28 GMT

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