W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-grid] Grid track sizing items spanning a flexible track

From: Manuel Rego Casasnovas via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Jun 2018 11:36:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-395734717-1528457805-sysbot+gh@w3.org>
I've a question about this change, on a [previous comment](https://github.com/w3c/csswg-drafts/issues/2177#issuecomment-365732303) you said:
> * Content-sized tracks such as `auto` tracks and flexible tracks with a minimum (e.g. `minmax(min-content, 1fr)` honor their minimum and ensure that no item spanning them causes overflow.

But the change affects also non-spanning items, see https://drafts.csswg.org/css-grid/#algo-single-span-items:
> 2. Size tracks to fit non-spanning items: For each track with an intrinsic track sizing function and not a flexible sizing function, ...

Now it says "and not a flexible sizing function" so if we have a non-spanning item on a flexible track. The item could end up overflowing the track as their contents would be ignored.
Check the discussion in the following bug for an example:

Do we really want this behavior for non-spanning items?

GitHub Notification of comment by mrego
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2177#issuecomment-395734717 using your GitHub account
Received on Friday, 8 June 2018 11:36:56 UTC

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