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

Re: [css-transforms] 'transform' longhands and their origins, introducing origin() functions

From: Sylvain Galineau <galineau@adobe.com>
Date: Mon, 14 Jul 2014 21:00:51 +0000
To: fantasai <fantasai.lists@inkedblade.net>
CC: Alan Gresley <alan@css-class.com>, Tab Atkins Jr. <jackalmage@gmail.com>, "<www-style@w3.org>" <www-style@w3.org>
Message-ID: <ACBCC87A-8F83-4044-ADC7-A23B3A9AD698@adobe.com>

On Jul 14, 2014, at 1:24 PM, fantasai <fantasai.lists@inkedblade.net> wrote:

> I consider translate-transform-untranslate to be an awkward
> way to set the origin of a transform function. You are doing
> an unnecessary operation, which you then need to undo. On top
> of which, you have to repeat the argument: once positively,
> once negatively. How is it *not* awkward?

Agree. It's not only awkward, this kind of repetition is inherently error-prone. Every change to the translate step needs a matching change to the untranslate. The smell of footgunnery is strong.
Received on Monday, 14 July 2014 21:01:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:44 UTC