W3C home > Mailing lists > Public > www-style@w3.org > January 2012

RE: [css3-flexbox] about flexible margins and alignment

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Mon, 9 Jan 2012 20:54:39 +0000
To: Ojan Vafai <ojan@chromium.org>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: Andrew Fedoniuok <news@terrainformatica.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928412DD713E@TK5EX14MBXC214.redmond.corp.microsoft.com>
± From: ojan@google.com
± Sent: Monday, January 09, 2012 12:19 PM
±
± On Mon, Jan 9, 2012 at 11:54 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
± On Mon, Jan 9, 2012 at 11:10 AM, Alex Mogilevsky <alexmog@microsoft.com> wrote:
± >
± >        flex-pack:justify -- add equal space between items
± >        flex-pack:distribute -- add equal space between items and half of that at start/end
± >
± That sounds fine to me.
±
± Same here. It's a good use-case and supporting both is easy.

Sounds like a plan.

BTW when 'distribute' has only one item or extra it should center, right? 
And when free-space is negative, it should also do same as center? 

Description for the new pack option will have to cover these two special cases.

Alex
Received on Monday, 9 January 2012 20:55:36 GMT

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