Re: [csswg-drafts] [scroll-animations-1] Ambiguous grammar of `animation-range` (#9264)

I stumbled over the same issue and think it would be helpful to clarify this ambiguity in the spec.

I have one question regarding the expansion though @cdoublev:

If `entry 10%` is consumed by `<'animation-range-start'>`, shouldn't `animation-range: entry 10%` expand to `animation-range-start: entry 10%` and `animation-range-end: entry 100%` due to how animation-range-end is expanded when omitted? 

> If [<'animation-range-end'>](https://drafts.csswg.org/scroll-animations-1/#propdef-animation-range-end) is omitted and [<'animation-range-start'>](https://drafts.csswg.org/scroll-animations-1/#propdef-animation-range-start) includes a [<timeline-range-name>](https://drafts.csswg.org/scroll-animations-1/#typedef-timeline-range-name) component, then animation-range-end is set to that same <timeline-range-name> and 100%.



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


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

Received on Monday, 19 February 2024 20:30:34 UTC