W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css-animations] Dealing with ambiguous animation shorthands

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 16 Aug 2013 13:02:37 -0700
Message-ID: <CAAWBYDCvznm0eOGNkB2TGYYx0u4fuT_7gCZ9n94i8B6M7cBP8Q@mail.gmail.com>
To: www-style list <www-style@w3.org>
On Fri, Aug 16, 2013 at 12:40 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> More important, though, is the question of what to do when *all* the
> keywords are valid for animation-* properties.  Which, if any, are the
> animation-name value?  I believe browsers are inconsistent here.

To be more specific, here are some examples.

Is "animation: ease-in backwards;" equivalent to "animation: foo
backwards;" (take first when ambiguous), "animation: ease-in foo;"
(take last when ambiguous), or "animation: none ease-in backwards;"
(only take animation name when *not* doing so would be an error).

What about "animation: ease-in ease-out backwards;"?

Alternately, could we simplify things and just always take the first
keyword as animation-name?

~TJ
Received on Friday, 16 August 2013 20:03:24 UTC

This archive was generated by hypermail 2.3.1 : Friday, 16 August 2013 20:03:24 UTC