Re: [csswg-drafts] [css-grid-3] Make align-self/justify-self align including adjacent extra space (#10275)

As noted in https://github.com/w3c/csswg-drafts/issues/12918, items with negative margin raises questions for this issue, as well. For example, in such cases, which item "belongs" to the empty space and has alignment applied to it? When items have weird margins, this becomes unclear.

For example:

<img width="587" height="862" alt="Image" src="https://github.com/user-attachments/assets/0cdf6cf1-0f7c-4a81-a2c4-716b7e3c8d5d" />

This leads me back to my original thinking: "I am inclined to believe that self-alignment here should be more similar to flexbox in that it only applies in the grid axis given that masonry does not create distinct cells like grid does."

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


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

Received on Wednesday, 8 October 2025 21:13:56 UTC