Re: [csswg-drafts] Alternative masonry path forward (#9041)

Throwing in a +1 for `display: masonry`.

For me, the term "grid" implies consistent tracks along two axes, and everything is aligned along those tracks. In other words, in my mind, a "grid" has horizontal and vertical lines (the grid tracks) that all extend to cover the grid's area. All rows and columns are consistent across the whole grid.

A masonry layout may share a lot of similar layout properties as a grid, and the discussion around all this is legitimately great, but in my mind it is distinctly _not a grid_. The tracks along one axis do _not_ necessarily extend the full length of that axis, and it does not fit the common definition of what a "grid" is.

Apart from what others have pointed out, like how defining it separately as `display: masonry` allows it to evolve independently of `display: grid`, to me it's simply more confusing to fit it into `display: grid` than it is to explicitly break it out as `display: masonry`.

Either way though, I'll just be happy masonry is finally making it to CSS. 🙂

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


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

Received on Friday, 27 September 2024 04:41:12 UTC