W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css-flexbox] min-width/height: min-content defaults for replaced items and overflow containers

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 30 Jun 2014 19:15:12 -0700
Message-ID: <CAAWBYDCZLdQS1m7T2icATqcK2VhfWwL+P0Y=VD7wYhWNaU394g@mail.gmail.com>
To: Daniel Holbert <dholbert@mozilla.com>
Cc: www-style <www-style@w3.org>
On Mon, Jun 30, 2014 at 4:00 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
> On 06/30/2014 03:29 PM, Tab Atkins Jr. wrote:
>>> Based on that assumption, I think we could perhaps more narrowly scope
>>> the new min-width:auto behavior to address this use case case. In
>>> particular: instead of making min-width/min-height:auto pull from the
>>> computed width/height, we could instead make it pull from the computed
>>> "flex-basis", **when computed flex-basis is auto**.
>>
>> Why not just make it always pull from 'flex-basis'?  I think having it
>> pull from 'width' might have been an accident.  That would have the
>> same benefits you cite in the rest of your email.
>
> That would break the "flex: [positive-number]" use-case, I think.

Ah, that makes sense.  Sure, your suggested change sounds good to me
then.  I'll discuss it with fantasai tomorrow and decide on it on the
call Wednesday.

~TJ
Received on Tuesday, 1 July 2014 02:15:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:23 UTC