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

Note, this gets even more complicated if view timeline has to take into account transforms, as the sticky offset is applied based on the layout position (which doesn't include transform) so it may actually move in the opposite direction of scrolling. here's an example: https://jsbin.com/senacun/edit?html,css,output .  I suspect that view timelines should operate on the layout position just like position: sticky does. I think this may already be implied by the fact that the spec already uses the [principal box](https://www.w3.org/TR/css-display-3/#principal-box) which is the same one used for positioning so I filed a [bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1411743) for chromium's implementation which does include the transform.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8298#issuecomment-1410787032 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 17:30:49 UTC