- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 Feb 2024 22:19:29 +0000
- To: public-css-archive@w3.org
In the general case this isn't possible, unfortunately - the anchor element might be in a further-down stacking context itself, so the positioned element *can't* put itself directly above or below it. At best, it could go above or below the highest stacking context (exclusively) between its containing block and the anchor. For ensuring you're above the anchor element, this already generally works - absposes are already laid out above non-positioned things at the same z-index, and top layer can ensure they go above *everything* (except higher top layers). There *are* (largely decorative, I think) use-cases for ensuring you go *below* your anchor element, tho (modulo the above issues). That said, tho, I think we can defer this to level 2. I'm unsure whether it should even be an Anchor Pos feature, or a more general Position feature. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9816#issuecomment-1965403603 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 26 February 2024 22:19:31 UTC