Re: [csswg-drafts] [css-animations-2] there should be a way to set the effect-wide easing for a CSS Animation (#6982)

Perhaps we could accept 2 values of `<easing-function>` in the `animation` shorthand, and then the first one will always be the `animation-timing-function`, and the second one, if exists, will be for effect-wide easing function?

Another option, if we go with `animation-easing`, is to make it a shorthand itself for `-keyframe` and `-effect` and then a single value will map to `-keyframe` and `animation-timing-function`, and 2 values would map to both, like
```css
animation-easing: linear ease;
```
Which would make it backwards compat with `animation-timing-function`, and then we could also completely replace it in the shorthand and deprecate `-timing-function`.

But this option might still be confusing when mapped to Web Animations.

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


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

Received on Saturday, 10 June 2023 17:45:30 UTC