- From: Bramus via GitHub <noreply@w3.org>
- Date: Wed, 18 Mar 2026 14:49:18 +0000
- To: public-css-archive@w3.org
bramus has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-conditional] [css-position] Allow feature detection of `position: sticky` tracking the nearest scrolling container per axis. == In https://github.com/w3c/csswg-drafts/issues/865#issuecomment-4040585511 we resolved to have `position: sticky` track the nearest scrolling container *per axis*. I’ve made some [early noise](https://bsky.app/profile/bram.us/post/3mh6pqbv2cc2t) about this change on social media and, in response, received two individual requests to be able to feature detect this. Currently, authors have some convoluted [workarounds that rely on scroll-driven animations](https://codepen.io/enbee81/pen/vEGEawe) or lots of JavaScript, which they want to keep in place as a fallback. I believe this is a good candidate for `[@supports named-feature()`](https://drafts.csswg.org/css-conditional-5/#typedef-supports-named-feature-fn) as I don’t think there is another way how authors would be able to detect this. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13677 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 18 March 2026 14:49:19 UTC