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

> D) With minmax(auto, 0px) or minmax(auto, 500px) (it doesn't matter the number of pixels we set as maximum) the size of the item and the track will be 250px too.

I believe this comment is wrong, and thus the following test is wrong too http://w3c-test.org/css/css-grid/grid-items/grid-minimum-size-grid-items-017.html
At least Firefox and Edge show a red rectangle there (in the current version as of 20th Nov 2017). Both Blink and WebKit show a green one, because I implemented both wrong following the assumption that the previous comment is right.

Basically this is wrong because the automatic minimum size has to be clamped as the max track sizing function is fixed. So in the case of `minmax(auto, 0px)` the automatic minimum size of the item gets clamped to 0px instead of 250px.

The Chromium bug is reported and will be fixed in the coming days: https://bugs.chromium.org/p/chromium/issues/detail?id=786971

-- 
GitHub Notification of comment by mrego
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/283#issuecomment-345818317 using your GitHub account

Received on Monday, 20 November 2017 20:17:18 UTC