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

Re: [css-flexbox] Renaming flex-basis:auto for less confusion

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 3 Nov 2014 13:25:53 -0800
Message-ID: <CAAWBYDAt0ocQNi2Zs8KvxguGPciBE1CqscqsgyZ+r+9uPzDXCA@mail.gmail.com>
To: Rossen Atanassov <Rossen.Atanassov@microsoft.com>
Cc: Daniel Holbert <dholbert@mozilla.com>, fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>, Greg Whitworth <gwhit@microsoft.com>, Julien Chaffraix <jchaffraix@google.com>
On Mon, Nov 3, 2014 at 12:43 PM, Rossen Atanassov
<Rossen.Atanassov@microsoft.com> wrote:
> It is safer from back-compat POV as well as arguably easier to teach/use.

I strongly disagree on the teachability.  That proposal means that
"flex-basis: <any-value-valid-for-'width'>;" is exactly the same as
"width: <same-value>;", *except* for "auto", which means something
totally different.  That's the whole reason we adopted the change we
did.  auto/content means "You can set flex-basis to any 'width' value,
except "auto"; if you want it to act like "auto", say "content".
Saying "auto" instead makes it default to the value of the actual
'width' property.".

Received on Monday, 3 November 2014 21:26:40 UTC

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