- From: Mayank via GitHub <sysbot+gh@w3.org>
- Date: Sun, 09 Mar 2025 04:58:19 +0000
- To: public-css-archive@w3.org
mayank99 has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-anchor-position] Behavior of positioned element when anchor is in top layer == What should happen to the position-anchored element when the anchor is in top layer? Currently, it remains where it is, which means it may appear _below_ the top layer and get obscured (which almost defeats the purpose of using anchor positioning). As an example, consider a modal `<dialog>` or a `popover` element that's open in the top layer. Now, consider a non top-layer element that's outside this dialog/popover. If I want to anchor this element to something within the dialog/popover, it will not appear in the top layer. Would it make sense to automatically elevate positioned elements into the top layer when their anchors are also in the top layer? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11868 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 9 March 2025 04:58:20 UTC