W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2013

[web-animations] Should "offset" be considered good naming?

From: Shane Stephens <shans@google.com>
Date: Fri, 26 Jul 2013 20:46:12 +1000
Message-ID: <CAGTfzwQGJKRCc7DRvwBcfsW0v_wTty-wcdSU=WMEUE2RJTD=eg@mail.gmail.com>
To: "public-fx@w3.org" <public-fx@w3.org>
Cc: martin.heidegger@gmail.com
Hi list,

I'm forwarding some feedback submitted by Martin Heidegger as an issue to
 the web animations polyfill (
http://github.com/web-animations/web-animations-js/issues/383).

"offset" as used in web-animations to indicate that some animation should
be run at a time-offset is mixed with other properties like "left" or
"marginTop" etc. many of those properties indicate a geometric space in
which "offset" as a word also has a common meaning and is often used.

To make this clearer to the reader and easier to learn I am wondering if a
property like "timeOffset" might be better.

Thanks Martin! We'll consider your suggestion in our next spec meeting.

Sincerely,
    -Shane Stephens
Received on Friday, 26 July 2013 10:46:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:46 UTC