[css-flexbox] min-height on flex items that have an intrinsic aspect ratio

Hello,

We came across an interesting issue regarding the min-height of a flex item[1] when the flex item has an intrinsic aspect ratio. We are setting the flex base size according to the aspect ratio but the hypothetical main size ignores it by applying the min size property. Because of this, I suggest rewording section 4.5 from:

   # On a flex item whose overflow is visible

to this:

   # On a flex item whose overflow is visible and does not have an intrinsic aspect ratio.

I have created a repro of the issue that you can see in IE11 currently[3] as well as a repro for Chrome that makes it support 4.5 and shows the same result[4] as IE.
Any feedback would be greatly appreciated. Thanks.

Greg

[1] http://dev.w3.org/csswg/css-flexbox/#min-size-auto
[2] http://dev.w3.org/csswg/css-flexbox/#algo-main-item
[3] http://jsfiddle.net/kdcwu/6/
[4] http://jsfiddle.net/kdcwu/9/

Received on Saturday, 17 May 2014 00:55:34 UTC