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

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