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

Re: [css3-flexbox] flex-line-pack without flexing

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 24 Oct 2011 23:41:28 -0700
Message-ID: <CAAWBYDCyuajiincOa5yoQSZnF-L3gUYwjpV_WsrjSz0oZvuCJg@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: www-style@w3.org
On Mon, Oct 24, 2011 at 7:30 PM, Ojan Vafai <ojan@chromium.org> wrote:
> http://dev.w3.org/csswg/css3-flexbox/#flex-line-pack
> "Note: Only multi-line flexboxes ever have free space in the cross axis for
> lines to be aligned in, because in asingle-line flexbox the sole line
> automatically stretches to fill the space."
> Technically, if none of the flexitems have flex, then you can also have free
> space in the cross-axis. Should probably adjust this note to take that into
> account.

The line itself (an imaginary construct that may or may not exist in
the box tree (maybe I should explicitly describe creating it))
stretches to fill the space, though.  The items may not fill the
space, but that's okay - they use flex-align to figure out where the
extra space goes.

~TJ
Received on Tuesday, 25 October 2011 06:48:16 GMT

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