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

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Wed, 21 Sep 2016 16:14:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-248662524-1474474458-sysbot+gh@w3.org>
> Does that mean you want the grid container to overflow its parent, 
in preference to the grid’s contents overflowing the grid container?

That's not at all the issue here. The analogy is a percentage-sized 
child inside an auto-sized (shrinkwrapped) *float*.  That is, the 
percentage child is resolved against the container, and the container 
is resolved against the size of the child.  (If the grid is sized to 
fill its container, then that size is definite and we can resolve the 
percentage no problem.)

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

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