Re: [css-transforms] Making 'transform' match author expectations better with specialized 'rotate'/etc shorthands

On Jul 11, 2014, at 11:42 am, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> Earlier today I saw a Twitter thread started by Lea
> <https://twitter.com/LeaVerou/status/487350702386479105> about how she
> commonly accidentally types the name of the transform she wants as the
> property (like "rotate: 45deg;") and then has to go back and correct
> it afterwards.  Several other devs chimed in that they do this as
> well, and I know that I've done it a few times (especially when using
> SVG - I use "transform='translate(...)'" so often that I commonly try
> to name the attribute "translate" first).
> …

> Thoughts?

This doesn’t seem very future-compatible with a variant of CSS transforms that affect layout (which, with the current syntax, could easily be added with a different property name).

Simon

Received on Sunday, 13 July 2014 17:32:56 UTC