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

[csswg-drafts] [css-grid] Intrinsic size of grid container should include the gutters

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Sun, 26 Jun 2016 15:35:34 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-162332793-1466955333-sysbot+gh@w3.org>
MatsPalmgren has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-grid] Intrinsic size of grid container should include the 
gutters ==
5.2. Sizing Grid Containers:
"The max-content size of a grid container is the sum of the grid 
container’s track sizes in the appropriate axis, when the grid is 
sized under a max-content constraint.

The min-content size of a grid container is the sum of the grid 
container’s track sizes in the appropriate axis, when the grid is 
sized under a min-content constraint."
https://drafts.csswg.org/css-grid/#intrinsic-sizes

I think both min-/max-content size should include the gutters in the 
relevant axis.
Perhaps this is implicit from "each gutter is essentially treated as 
an extra track of the specified length" in 11.1, but I think it would 
be clearer to mention them explicitly in 5.2.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/246 using your GitHub 
account
Received on Sunday, 26 June 2016 15:35:37 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:59 UTC