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

Re: [css3-flexbox] hypothetical size for breaking vs. flex basis

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 5 Jul 2012 01:00:45 -0700
Message-ID: <CAAWBYDBF4brY3QGxnzyKKTE5P69nk+L=+a2jb2=JYz5i-q9exw@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, Jul 3, 2012 at 7:32 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> Right now multi-line flexboxes break into lines using the flex basis.
> This makes a lot of sense for any explicit value of the flex basis.
> But for auto, I'm wondering if it might make more sense to use the
> minimum size instead. If you have a navigation bar, for example,
> you might want it to try shrinking the items to try to fit into a
> single line before breaking across lines.
>
> Might be something to address in Level 2, e.g. with new keywords for
> wrapping. But I thought I'd point it out.

I definitely think that it would be good to look into whether we need
more powerful controls around linebreaking in a future version.  The
current behavior is purposely simple, which means it won't always be
appropriate.

We shouldn't worry about it for this level, though.  The current
functionality is fine, and I don't want to introduce new functionality
at this point in the spec's life cycle.

~TJ
Received on Thursday, 5 July 2012 08:01:34 GMT

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