W3C home > Mailing lists > Public > www-style@w3.org > July 2014

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

From: Simon Fraser <smfr@me.com>
Date: Sun, 13 Jul 2014 10:32:17 -0700
Cc: www-style list <www-style@w3.org>
Message-id: <888F5F87-0FB9-4AA6-8885-44FC11D6A5D9@me.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
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).

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:42 UTC