Re: [csswg-drafts] [css-position-3] Making a stickypos in a scroller also see the viewport edges (#8286)

Could this be handled by `position-container` from https://github.com/w3c/csswg-drafts/issues/9868? I think it should be fair game to allow choosing a different ancestor from the immediate containing block as the target for the sticky positioning.

Another related thing that could potentially cover this: https://github.com/w3c/csswg-drafts/issues/8905 — if we could extend the anchor positioning to the sticky positioning (and somehow make it possible to attach things to the specific scrollports from it, compared to the elements), then we could choose a different element and not the closest scrollpost for this.

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


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

Received on Friday, 23 February 2024 22:47:09 UTC