Re: [css-flexbox] Should intrinsic aspect ratios to be taken into account while doing main-size calculation ?

On 07/30/2014 11:38 PM, Harpreet Singh Khurana wrote:
> According to the spec
> http://dev.w3.org/csswg/css-flexbox/#algo-main-item  we should take
> intrinsic aspect ratios  into account while doing main-size calculation.
> I was working on the implementation of the same. Currently none of the
> browser is taking  intrinsic aspect ratios into account while doing
> main-size calculation.

Firefox Nightly[1] should be taking the intrinsic ratio into account
when doing main-size computations now. (if there's a definite cross
size, and an indefinite main-size, and a flex-basis of "auto"/(aka
"main-size"), and an intrinsic aspect ratio.)

I added that while implementing the new min-[width|height]:auto
behavior, as noted here:
 https://bugzilla.mozilla.org/show_bug.cgi?id=1015474#c2

If you notice it not behaving as you'd expect, please file bugs or let
me know.

~Daniel

[1] http://nightly.mozilla.org/

Received on Monday, 4 August 2014 17:33:12 UTC