Re: Inconsistency in flex-basis?

On 01/23/2015 10:20 AM, Tab Atkins Jr. wrote:
> That's not right.  The spec algo should shrink them to 0.  If they
> have a definite flex-basis, their widths are *totally ignored*

In Firefox at least, we've already got a bug on this:
  https://bugzilla.mozilla.org/show_bug.cgi?id=972595

We use the items' "width" property, when computing the intrinsic size of
the flex container -- but we should instead be looking at their
'flex-basis'.  (Or really, we should be following the recently-added
flex-grow-and-shrink-dependent flex-container intrinsic sizing spec-text
at http://dev.w3.org/csswg/css-flexbox-1/#intrinsic-sizes.)

Received on Friday, 23 January 2015 19:59:32 UTC