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

It might be too late at night for me to be thinking straight, but another proposal could be 

Option 3:
- `animation-delay` (which expands to `animation-delay-start` and `animation-delay-end`) only takes absolute time values (as in Animations 1), and represent insets on the effective timeline range.
- `animation-range` (which expands to `animation-range-start` and `animation-range-end`) takes named range + offset values (as introduced in Scroll Animations), which represent absolute points on the timeline.
- In the future, if we have time-based animations that have named ranges, the properties interact by having delay values cut in from the start/end of the range.
- (I'm maybe too tired to think of an intelligent way for `animation-range-end` to interact with `animation-duration`......)

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


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

Received on Wednesday, 7 December 2022 05:32:56 UTC