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

Thanks @denk0403! I don't have a particularly strong opinion about any this but I would leave towards the shorter naming. I also think having `animation-effect` be a shorthand that somewhat overlaps with `animation` could be confusing and maybe problematic (as it is, we're having a lot of trouble working out how to extend the `animation` shorthand in a way that is backwards compatible).

I liked the suggestion in #6982 of introducing `animation-easing` because it's short and because it offers a path to deprecating/phasing out `animation-timing-function` which I never liked because it's long and overly abstract.

Admittedly, that proposal also has problems when it comes to the `animation` shorthand since presumably we'd need to continue mapping timing functions to the `animation-timing-function` propertly (i.e. keyframe-level easing) unless we introduce new syntax for it.

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8881#issuecomment-1569343869 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 01:06:25 UTC