Re: [csswg-drafts] [css-grid-3][masonry] item-flow row vs. column in masonry layouts (#12803)

> @bradkemper We already resolved on `display: grid-lanes` in #12022, this issue is not about that. Also `justify-items` only sets the default `justify-self`, and `justify-self` alone can't explain masonry. 

Yes, I will concede that. I didn't expect to be taken too seriously on such a different proposal this late in the game. I guess the thing I wanted to communicate most is that in the mental model that is simplest for me (and will be perhaps for many other authors), is that grid-lanes and grid are almost entirely the same layout, aside from the fact that the items don't align with the track they flow into, but instead jump out to align with the corresponding item in the previous track. 

So in my mind, the biggest difference is from regular grid is that after items are flowed into a track, they become visually unaligned with that track. So things like align-items become meaningless as a result, and that's as expected in my mental model. 

But changing the meaning of flow would be enormously unexpected, and guaranteed confusing and hard to remember for many authors like me. 



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


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

Received on Thursday, 4 December 2025 17:24:28 UTC