- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 9 Jan 2012 18:16:15 -0800
- To: Alex Mogilevsky <alexmog@microsoft.com>
- Cc: Ojan Vafai <ojan@chromium.org>, Andrew Fedoniuok <news@terrainformatica.com>, "www-style@w3.org" <www-style@w3.org>
On Mon, Jan 9, 2012 at 12:54 PM, Alex Mogilevsky <alexmog@microsoft.com> wrote: > ± 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. For the one-item case with positive free space, centering definitely seems to be the right thing to do. For the negative-free-space case, I'm not sure. We could center, but then I feel like we should do the same thing for 'justify'. But maybe not, since the one-item case for 'justify' is start-aligned. I could go either way. ~TJ
Received on Tuesday, 10 January 2012 02:17:09 UTC