Re: [csswg-drafts] [css-position][css-sticky] Make sticky positioning less restrictive (#5528)

> I think this is basically a duplicate of #2496, which also proposes a `sticky` property similar to your `sticky-position`.

I'm hesitant to think that it's an exact duplicate, but could possibly work hand-in-hand with #2496.

Part of me wants to say that by defining a target for `sticky` this inherently could be redefining the semantics provided by a DOM, which I don't like. I am not sure whether there is already a precedent for defining target elements in CSS. I like this general idea. Perhaps being able to define targets for various things would be useful in the future. I am not sure that this issue is the place to discuss that though.

It makes me wonder if specifying `overflow: clip` or `overflow: visible` to remove the immediate parent's ability to become established as the scrolling container would have the desired effect of getting the footer to attach where needed. (oh! just saw -- it looks like this is discussed in #865 -- maybe specifying `overflow` is the solution??)

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


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

Received on Tuesday, 6 October 2020 04:39:10 UTC