W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-animations] Negative time at start of animation shorthand (#4034)

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Aug 2019 02:29:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-520284446-1565576971-sysbot+gh@w3.org>
We could have

> Note that order is important within each animation definition: the first value in each single-animation that can be parsed as an animation-duration is assigned to animation-duration, and if a single-animation contains another value that can be parsed as a time, it is assigned to animation-delay.

This allows for cases like
`calc((20px - 1em) / 1px * 1s) linear calc((1em - 20px) / 1px * 1s) anim`
where, regardless of font-size, the first time value is animation-duration.

GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4034#issuecomment-520284446 using your GitHub account
Received on Monday, 12 August 2019 02:29:34 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:52 UTC