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

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Feb 2018 19:36:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-365720631-1518636990-sysbot+gh@w3.org>
So the confusion is between the results of case 2 (the fr column grows bigger than the container) and cases 4/5 (the fr column won't exceed the container).

This seems like an accidental result of the change we made to have `1fr` imply an auto minimum - this has the desired effect in case 2 (the fr grows larger to accommodate the item's minimum size), but then the algorithm itself skips over the track when the item spans, so we don't get the opportunity to have the same effect.

Hmm, we don't want to lose the case 2 behavior, so we'll have to look into this and see if there's a reasonable way to make case 4/5 match expectations...

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2177#issuecomment-365720631 using your GitHub account
Received on Wednesday, 14 February 2018 19:36:45 UTC

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