Re: [css3-flexbox] auto margins

On Wed, Sep 21, 2011 at 5:16 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

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


Oh, I guess it doesn't. I just assumed it did since I didn't see discussion
about it on this list. I guess I should follow the commit history for the
spec.

Received on Thursday, 22 September 2011 18:45:07 UTC