Re: [csswg-drafts] [css-flexbox][css-grid] Unifying grid-auto-flow and flex-flow (#11480)

I wanted to comment on one piece of this. The rest looks like a great direction to explore, but I'm not enough of a CSS expert to opine that it's definitely the way to go.

Giving a `*-direction` property values of `row` and `column` is ambiguous between "the items are laid out in the row direction" and "the items form visual rows". With flex, these were equivalent; with grid, you always get both rows _and_ columns; but with masonry, they're opposites. I was also surprised to learn that in a vertical writing system (e.g. `writing-mode: vertical-rl`), "row" means "top to bottom", although it's possible that this is natural to native speakers.

Fundamentally, these say whether to stack items in the `block` or `inline` direction. So maybe `item-direction` should take values of `inline`, `inline-reverse`, `block`, and `block-reverse`? 

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


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

Received on Tuesday, 14 January 2025 17:03:12 UTC