W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

[csswg-drafts] [css-grid] What if base sizes of both auto/min-content and max-content minimums are being handled? (#3621)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Feb 2019 12:36:04 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-407678907-1549542963-sysbot+gh@w3.org>
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] What if base sizes of both auto/min-content and max-content minimums are being handled? ==
From https://drafts.csswg.org/css-grid/#algo-spanning-items,

> For intrinsic minimums: First increase the base size of tracks with an intrinsic min track sizing function by distributing extra space as needed to accommodate these items’ minimum contributions.

But then https://drafts.csswg.org/css-grid/#extra-space says

> If space remains after all tracks are frozen, unfreeze and continue to distribute space to the item-incurred increase of…
> - when handling base sizes of tracks with min-content or auto minimums: [...]
> - when handling base sizes of tracks with max-content minimums: [...]

What if the item spans a track with a `min-content` or `auto` minimum, and another with `max-content`, and the base sizes of both tracks are being simultaneously handled because both are intrinsic? To which tracks do you distribute space? The union of both cases? The intersection (all affected tracks if empty)? Something else?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3621 using your GitHub account
Received on Thursday, 7 February 2019 12:36:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC