Re: [csswg-drafts] [css-grid-3] Reconsidering the value space of `grid-auto-flow` (#10902)

> Grid placement doesn't really distinguish between wrapping or not wrapping though; wrapping isn't really a concept in Grid.

I don't think I agree with this. Grid auto-flowing certainly wraps - you auto-flow into a row, then wrap to the next row when you hit the end. That's exactly the same behavior you get out of Flexbox.

In general, so long as the concepts map appropriately, I'd prefer reusing microsyntaxes rather than inventing entirely new ones. This new microsyntax doesn't add any new abilities; it just re-spells `wrap-reverse` as `row-reverse`/`column-reverse`, and allows you to explicitly say `wrap` (by specifying `row`/`column` second; this value was intentionally omitted from this property since there's no `nowrap` to contrast it with).

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


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

Received on Monday, 16 September 2024 20:54:48 UTC