Re: [csswg-drafts] [css-grid] Resolving percentage heights of grid items during min-content sizing

Right, I meant [min-size contribution](https://drafts.csswg.org/css-grid/#min-size-contribution). Note that it says "_computed_ min-width or min-height value" though. The computed `min-height` value is `auto` so  it says we should return the outer size for `height:auto ` which is the flowed block-size. I'm guessing you meant "_used_ min-width or min-height value", because then there is now a clause in AMS that says "the automatic minimum size is otherwise zero, as usual" in the [current draft](https://drafts.csswg.org/css-grid/#min-size-auto) (it was [previously undefined](https://www.w3.org/TR/2017/CR-css-grid-1-20171214/#min-size-auto)). Then you would get the desired "outer size with `height:0`" result.

I agree with the result you suggest for the testcases and I've filed [a bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1462854) to fix the layout for the third testcase in Gecko.

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

Received on Saturday, 19 May 2018 02:11:56 UTC