Re: [csswg-drafts] [scroll-animations-1] What's the point of animation-range? (#7901)

> What's the point of having 2 shorthands if both have the same grammar and expand to the same set of longhands in the same way?

This is an open discussion point, but I put both because reading `animation-delay: range-name` or even `animation-delay: first-range x% second-range y%` is really strange, it's not really a delay. But we can't get rid of `animation-delay`, so having it expand out as `animation-delay-start` and `animation-delay-end` seemed to make more sense than having `animation-range` expand out as `animation-delay` and `animation-end-delay`.

We could also flip things around and have `animation-range` expand to `animation-range-start` and `animation-range-end` with `animation-delay` being an alias of `animation-range-start`.

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


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

Received on Monday, 7 November 2022 19:29:16 UTC