Re: [csswg-drafts] [css-anchor-position] should alignment safety consider the containing block? (#10316)

Proposal here is:

- When `unsafe`, do unsafe alignment into the inset-modified containing block. (No change)
- When `safe`, overflow the IMCB in the "safe" direction. (No change)
- By default, do unsafe overflow of the IMCB, but safe overflow of the CB.
   I.e. as you grow:
    1. Align within the IMCB as specified.
    2. If as you grow you overflow the IMCB, keep aligning as specified.
    3. If as you grow you reach the edge of the CB, don't overflow that edge, grow in the other direction.
    4. If as you grow you overflow the CB, do safe alignment (overflow away from the unscrollable region).

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


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

Received on Wednesday, 22 May 2024 18:01:46 UTC