Re: [css3-transforms] 2D Transform Function rotate

Hello

Le 25 avril 2012 14:21, Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de> a écrit :

> Aryeh Gregor:
>
> >
> > It's supported for SVG for backward compatibility.
>
> Basically it is used in SVG, because it is quite useful and simple,
> not just for historical reasons ;o)
>

Yes, and the main reason is that at that time, the transform-origin
property didn't exist (which were obviously not necessary for SVG which
deal with an absolute coordinate system where HTML doesn't).

Now that CSS Transform, specified the transform-origin property, there is
no need to specify the center of the rotation inside the rotate function
itself. So it make sens to preserve the legacy SVG notation for backward
compatibility, but there is no need to make things more complex by making
this notation mandatory.

Cheers
-- 
Jeremie
.............................
Web : http://jeremie.patonnier.net
Twitter : @JeremiePat <http://twitter.com/JeremiePat>

Received on Wednesday, 25 April 2012 14:59:54 UTC