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

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.".

~TJ

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