Re: [csswg-drafts] [scroll-animations-1] Support setting start and end time on scroll timeline. (#7296)

> * What happens if the specified range is, or extends beyond, the possible scroll range?

The naive thing - you use the value as is and can't get to the full 100% progress through the timeline.

> * Do we have any real use cases for this? (I definitely thought it fit within the API when drafting up, but I didn't add it because I wasn't sure there were use cases that weren't better served by tying it to an element position.)

The main case I was thinking was for header parallax cases, though arguably this could be done with the proposed `view-timeline-range: exit` on the parallax container.

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


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

Received on Wednesday, 1 June 2022 23:20:35 UTC