W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [css-flexbox] "flex: 1;" does the wrong thing in min-size constraint sizing

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 22 May 2013 10:52:27 +0800
Message-ID: <519C32EB.1090201@mozilla.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Ojan Vafai <ojan@chromium.org>, hyatt@apple.com
CC: www-style list <www-style@w3.org>
Oh, sorry -- when I sent that last email, I was under the impression
that there might be implicit consensus, but I only just now noticed Dave
Hyatt's email with an alternate suggestion.

Quoting him:
On 05/16/2013 01:57 AM, David Hyatt wrote:
> My preference would be to just change "auto" to have this behavior,
> and then make a new keyword for "always use my width/height."

Dave:  To clarify -- under your proposal, would we keep the flex-basis
initial value at "auto" (with your suggested new "auto" semantics,
thereby changing default behavior), or would we change that initial
value to be the new always-use-my-width/height keyword (with the old
auto semantics)?

Also, isn't it a bit risky to make a significant change to what
"flex-basis:auto" does for a at this stage in the game? In particular,
any authors who have copypasted one of the suggested "Common values of
flex" strings like "flex: auto" or "flex: 0 auto" would have their
content broken, if we changed what "auto" means.  (And their content
would stay broken until they replaced it with "flex:
use-my-width-or-height" or "flex: 0 use-my-width-or-height").

Generally, I feel like this fix is disproportionately large / breaking,
as compared to the scope of the original issue that Tab was trying to
solve in this thread.

Received on Wednesday, 22 May 2013 02:53:00 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:28 UTC