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

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