Re: [csswg-drafts] [scroll-animations-1] animation-range vs animation-duration (#8405)

I would prefer if all three values are not their initial `auto` or `normal` values that we ignore the `animation-duration`. My rationale here is that it will be common for both `animation-range-start` and `animation-range-end` to be defined together, sometimes as a single keyword (e.g. `animation-range: entry`), and so it makes sense to me that this takes precedent over the declared duration given that it is overconstrained.

Using the shorter of `duration` and `animation-range-end - animation-range-start` works reasonably if the range is shorter than the duration, but when the range is longer than the duration the animation will no longer align to the range-end which feels awkward as well.

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


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

Received on Friday, 17 February 2023 19:31:42 UTC