Re: [csswg-drafts] [css-position] Ability to set a positioned element's containing block to another element (#5952)

@emilio This does work for some cases, but not all (or even most), and currently the complexity of the required solution explodes once you need to go past that. Also, this comes up a lot in web components, in which case the popup might be in Shadow DOM and the anchor element in light DOM, and thus they cannot be siblings.

I should have elaborated when pinging you that I was primarily asking about which constraints would make this implementable, so I could propose a syntax with that in mind. @fantasai thinks it should be implementable with the constraints listed in the original post, but suggested I confirm with you and @dholbert.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5952#issuecomment-775822752 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 9 February 2021 10:10:26 UTC