Re: [css3-flexbox] auto margins

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 UTC