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

[csswg-drafts] [css-grid] Implied Minimum Size of Grid Items

From: Manuel Rego Casasnovas via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Jul 2016 10:46:14 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-164281075-1467888372-sysbot+gh@w3.org>
mrego has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-grid] Implied Minimum Size of Grid Items ==
As we're approaching the CR stage I was checking again the ["Implied 
Minimum Size of Grid Items" 
section](https://drafts.csswg.org/css-grid/#min-size-auto) of the 
spec.

It's kind of weird that the spec points now again to the text in 
Flexbox. It was like that originally then it had its own Grid text and
 now it points again to Flexbox. The problem I found with this is that
 I'm not 100% sure about some stuff, e.g. the Flexbox spec talks about
 *main-axis*, I'm assuming it applies in both axis on grid items. Also
 when I try to compare with Flexbox, I usually forget about 
`flex-shrink: 1;` which is the default in Flebox and creates different
 results that what I see on Grid.

After trying to understand it properly I was reviewing the W3C tests I
 created some time ago and updated them. It'd be really nice if 
someone could verify that my tests are right as some fail on Chromium 
and another on Firefox.

Please @fantasai and/or @tabatkins could you review the tests (they're
 just 9 simple tests where the expected result is just a 100x100 green
 box). Probably @MatsPalmgren would be interested in taking a look 
too.

Test | Chromium | Firefox
------|---------------|----------
[`css-grid-1/grid-items/grid-minimum-size-grid-items-001.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-001/spec/css-grid-1/)
 | :+1: | :x:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-002.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-002/spec/css-grid-1/)
 | :+1: | :x:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-003.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-003/spec/css-grid-1/)
 | :+1: | :+1:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-004.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-004/spec/css-grid-1/)
 | :+1: | :+1:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-005.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-005/spec/css-grid-1/)
 | :+1: | :x:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-006.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-006/spec/css-grid-1/)
 | :x: | :x:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-007.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-007/spec/css-grid-1/)
 | :+1: | :x:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-008.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-008/spec/css-grid-1/)
 | :+1: | :+1:
[`css-grid-1/grid-items/grid-minimum-size-grid-items-009.xht`](http://test.csswg.org/shepherd/testcase/grid-minimum-size-grid-items-009/spec/css-grid-1/)
 | :x: | :x:

The status on Chormium and Firefox right now is not really important, 
as I'm not 100% sure if the tests are right. Thanks! :wink: 


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/283 using your GitHub 
account
Received on Thursday, 7 July 2016 10:46:26 UTC

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