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

Re: [css3-flexbox] auto margins

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 22 Sep 2011 12:00:00 -0700
Message-ID: <CAAWBYDAGfBhRavNiQbSpOdT=Pj3ZZvRNukGOtbWV3jaCg+LeXg@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: www-style@w3.org
On Thu, Sep 22, 2011 at 11:44 AM, Ojan Vafai <ojan@chromium.org> wrote:
> 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.

You can easily do so by plugging this into your RSS reader:
http://www.xanthir.com/feed/public-css-commits/?spec=css3-flexbox

~TJ
Received on Thursday, 22 September 2011 19:00:48 GMT

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