Re: [csswg-drafts] [css-position][css-anchor-position][css-align] anchor-center and overflowing the inset-modified containing block (#12020)

From playing with this when I was first implementing IMO you want to ignore the IMCB, and instead apply the safety to the CB. You typically want to stay anchored to the center of the anchor as long as possible, otherwise it looks like the implementation is broken when it isn't. E.g. if you place it in `bottom center` its quite common for the anchor to overflow.

A potential option that might make the single inset case ignore `anchor-center` ?

 

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


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

Received on Monday, 31 March 2025 19:57:11 UTC