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

Re: [csswg-drafts] [css-grid-1][css-grid-2] Basic support for "equal gutter" with justify-content on grid items

From: Javier Fernandez Garcia-Boente via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 Jan 2018 15:31:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-361968262-1517412713-sysbot+gh@w3.org>
Another issue that I'd like to note down here is how we want to deal with the different scenarios producing overflow:

- height: auto - we will use the gaps to compute the final height. However, this new Content Distribution value will add extra size. Would this imply overflowing even with height auto ? Should we use the Content Distribution extra space, added to preserve the aspect ratio to compute the final grid's height ?

- height: fixed - I'm not sure if this new value, intended to preserve the aspect ratio, should end up causing an overflow.  I think aspect-ratio preservation should only be allowed with height: auto. 

In general, I find it weird that properties that were initially defined to "distribute the available free space" ended up adding extra space, even when there is no free space left. 

-- 
GitHub Notification of comment by javifernandez
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1116#issuecomment-361968262 using your GitHub account
Received on Wednesday, 31 January 2018 15:31:58 UTC

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