W3C home > Mailing lists > Public > www-style@w3.org > January 2015

Re: Inconsistency in flex-basis?

From: Daniel Holbert <dholbert@mozilla.com>
Date: Fri, 23 Jan 2015 11:59:01 -0800
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Shashi Gowda <shashigowda91@gmail.com>
Cc: www-style list <www-style@w3.org>
message-id: <54C2A805.3000008@mozilla.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:50 UTC