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

Re: [csswg-drafts] [css-grid] Percentages and intrinsic size

From: Jen Simmons via GitHub <sysbot+gh@w3.org>
Date: Wed, 21 Sep 2016 14:13:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-248624719-1474467203-sysbot+gh@w3.org>
I don't have a overwhelming preference. On the one hand, having 
something that looks broken will help authors know they should rethink
 their code. On the other hand, I can see this coming up in real world
 usecases, and having Grid return a broken result is a bad idea. It 
would be better for it to resolve in some kind of useable way. 

Maybe we want the % track to resolve to zero if it's empty. Basically 
— have it always act like it's `auto`.

Maybe we want the % track to act like it's `minmax( backcomputethingy,
 auto)` — where it acts like auto if the content is making it grow 
beyond the competed size. But if there's not that much content / is no
 content, then it acts like the examples where the size is computed 
based on the other sizes. Basically giving us both of these, depending
 on whether or not there is content. 

![css-grid percentages and intrinsic size issue 509 w3c csswg-drafts 

![css-grid percentages and intrinsic size issue 509 w3c csswg-drafts 

GitHub Notification of comment by jensimmons
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 21 September 2016 14:13:40 UTC

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