- From: Kevin Crawford via GitHub <noreply@w3.org>
- Date: Wed, 27 Aug 2025 19:53:10 +0000
- To: public-css-archive@w3.org
I found myself wishing for this when trying out the native [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API). This API places elements in the [top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer) stacking context, but this mechanism is too blunt for the specific use case I was playing with. When scrolling the page, the popover trigger (anchor element) could slide underneath another element stacked above it, but the popover itself would continue to appear above it in the top layer, making it look awkwardly "detached" from its anchor element. I do need to be able to "escape" the stacking context that an element is in due to the structure of the DOM, but the top layer is too much. I need to be able to target a specific stacking context. -- GitHub Notification of comment by kcrwfrd Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9108#issuecomment-3229554642 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 August 2025 19:53:11 UTC