Re: [csswg-drafts] [css-align] Clarify how `justify-self` affects automatic size of block-level box (#12102)

> However, @fantasai interpreted the spec as only using fit-content in over-constrained cases.

No that would be super weird!

My interpretation was that the alignment properties don't affect block-level sizing, so alignment only takes effect in over-constrained cases; in other cases the outer size perfectly fits the container, so there is nothing to align. In other words, `justify-self` replaces `direction` for determining alignment, but otherwise layout is as per CSS2.1.

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


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

Received on Tuesday, 13 May 2025 23:00:38 UTC