W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [css3-flexbox] auto margins

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 21 Sep 2011 17:16:55 -0700
Message-ID: <CAAWBYDBtsZcsvOczMujyWAsTEkyRVgjYR95tX-EGUNbk4LmHvw@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: www-style@w3.org
On Wed, Sep 21, 2011 at 4:41 PM, Ojan Vafai <ojan@chromium.org> wrote:
> Currently the spec says to treat auto margins as a flex of 1. This seems to
> me that it adds complexity without any benefit. Using margin: auto to center
> fixed size blocks is a hack that we don't need to perpetuate to other layout
> mechanisms that have a proper way to center elements. It simplifies both the
> implementation and the use of flexbox if we treat auto margins as 0.

Where does it still say that?  I should have editted all of those out.

~TJ
Received on Thursday, 22 September 2011 00:17:44 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT