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

[css3-transforms] Making transform-origin a list, converting transform to comma separated

From: Lea Verou <leaverou@gmail.com>
Date: Sat, 04 Feb 2012 02:09:15 +0200
Message-ID: <4F2C772B.2060904@gmail.com>
To: www-style list <www-style@w3.org>
We were discussing today with shepazu that there doesn't seem to be any 
reason for transform to be whitespace separated over comma separated, 
like other list-accepting properties (background, box-shadow, 
text-shadow, transition etc). It probably comes from SVG transforms, 
which are also whitespace separated, but it's inconsistent with the rest 
of CSS.

While I'm at it, it would be great if transform-origin was also a comma 
separated list, being potentially able to accept different origins for 
every transform. As it currently stands, the only way to do that is 
wrapper elements. It's very useful, for example to make an element move 
in a circular path while not being rotated itself (two rotate transforms 
with different origins and opposite angles).

Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Saturday, 4 February 2012 00:09:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:15 UTC