- From: Jordan Whitfield via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Apr 2023 07:31:20 +0000
- To: public-css-archive@w3.org
> Can we do something like
>
> ```
> .sp{
> sticky-origin: "sticky-parent";
> }
>
> .sp .sc{
> sticky-parent: "sticky-parent"; /* viewport | "user-defined: sticky-origin" */
> }
> ```
I would rather have a solution that is more generic that doesn't limit to just `position: sticky`.
```
.ancestor {
container-root: foo;
}
/* .ancestor > .foo > .bar > .baz > .nested-child */
.nested-child {
container-ancestor: foo;
}
```
--
GitHub Notification of comment by mantissa7
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8286#issuecomment-1497047762 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 5 April 2023 07:31:21 UTC