Re: [csswg-drafts] [scroll-animations-1] View progress contain of a sticky positioned elements on the edges (#8298)

My proposal is that in https://drafts.csswg.org/scroll-animations-1/#view-timelines-ranges when computing the scroll position for the start / end of a range we offset the principal box by its min / max sticky position offset. This should implicitly make everything just work. E.g. imagine you have a box with top: 50px; the start scroll position for cover would be the same (when it first touches the scrollport), but the end scroll position for cover would be beyond the scrolling range because the element would never scroll out of view.

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


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

Received on Tuesday, 31 January 2023 22:37:30 UTC