W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2016

Re: [csswg-drafts] [css-grid] Implied Minimum Size of Grid Items

From: Manuel Rego Casasnovas via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Jul 2016 21:16:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-233461456-1468876560-sysbot+gh@w3.org>
> Thinking about this some more, at the very least, the grid's maximum
 track-sizing function should clamp the implied minimum the same way a
 specified size on the item would. I'm pretty sure that's what authors
 would expect.

I always thought that the idea of `min-size: auto` was to avoid 
shrink-to-fit by default.
At least in Flexbox it avoids that the item shrink-to-fit in the flex 
container, when the flex container has a fixed width (like in the 
previous example). Maybe there were other reasons to add it in Flexbox
 that I'm missing.
Are we sure we want something different in Grid Layout? So the items 
will shrink-to-fit in their grid area.

-- 
GitHub Notification of comment by mrego
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/283#issuecomment-233461456 
using your GitHub account
Received on Monday, 18 July 2016 21:16:09 UTC

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