Re: [csswg-drafts] [css-animations] Proposal: Add a way to make the animation timing function apply to the whole animation (#8881)

After some more thought, I don't think `animation-timing-function` should be deprecated in favor of something like `animation-easing`. They would serve different purposes, and there may be use cases for using them together like it's currently possible in Web Animations; it's the developer's discretion. Plus, I don't see an intuitive way one property can play both roles without overriding each other.

And although it's probably outside the scope of this discussion, to solve the shorthand syntax concerns, it could be nice if CSS shorthand properties supported something like [named parameters](https://en.wikipedia.org/wiki/Named_parameter) for dealing with ambiguities. Then if `animation-easing` was added, developers could still use it in shorthand syntax like so:
```css
animation: move 5s -easing=linear(0 0%, 0.5 80%, 1 100%);
```

-- 
GitHub Notification of comment by denk0403
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8881#issuecomment-1569515275 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 31 May 2023 05:21:35 UTC