[csswg-drafts] [css-grid-3] replacing item-tolerance with existing properties (#13259)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid-3] replacing item-tolerance with existing properties ==
Crazy idea following up from https://github.com/w3c/csswg-drafts/issues/10884, but thought I'd throw it out there: what if we replace `item-tolerance` with `grid-auto-rows`/`grid-auto-columns`?

It would avoid introducing a new property, and it would mean that these properties have related, useful meanings in both `grid` and `grid-lanes` layout.

But the value spaces don't quite match (`<length>` vs `<track-size>+`), so there's some awkwardness. To make it work we'd need to
* Define a new initial value that computes to `auto` or `1em` depending on the `display`.
* Give the intrinsic sizing values a meaningful interpretation, maybe taking the height of the first auto-placed item or something like that? (But in most cases, you'd want to multiply it by a multiplier... so maybe percentages can be a percentage of this value?)
* Ignore everything but the first `<track-size>` ...

Anyway, thoughts? Worth pursuing, or relegate to dust-bin?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13259 using your GitHub account


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

Received on Monday, 22 December 2025 20:19:40 UTC