[csswg-drafts] [scroll-animations-1][css-animations-2] Out-of-range range offsets (#8578)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations-1][css-animations-2] Out-of-range range offsets ==
Currently `animation-range-start/end` take `<length-percentage>` values to indicate a position on the timeline. By allowing `<length>` values in #7575, we made it possible to choose positions outside the declared range; and unless we restrict the percentages to [0%,100%], that can be done with percentages also.

The question here is, what do we do about such out-of-range values?
- Make negative values and percentages outside [0%,100%] invalid, and clamp any other values to the named range.
- Allow all values as syntactically valid, but clamp them to the named range.
- Allow all values as syntactically valid, but clamp them to the timeline.
- Allow all values, and allow `animation-range` to expand the attachment range for animations.

I think the last one makes the most sense. See also https://github.com/w3c/csswg-drafts/issues/8405#issuecomment-1464810166

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8578 using your GitHub account


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

Received on Monday, 13 March 2023 22:52:20 UTC