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

Re: [css3-flexbox] alignment test

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 8 Dec 2011 15:16:51 -0800
Message-ID: <CAAWBYDBGLdHE5ftAPXcATb+qhDhgUaCXHsV-FE8ptYhSrWZqBg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
On Thu, Dec 8, 2011 at 2:49 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 12/08/2011 02:05 PM, Tab Atkins Jr. wrote:
>> On Thu, Dec 8, 2011 at 1:58 PM, fantasai<fantasai.lists@inkedblade.net>
>>  wrote:
>>> What controls do you need, besides what is offered with flex()?
>>
>> Well, you need the stuff offered by flex() (preferred width, pos-flex,
>> neg-flex), and some way to determine where it goes.
>
> What do you mean, where it goes?

Relative to the other flexbox items.  This comes for free with margins
(since it's attached to a particular side of a particular box), though
it may be expensive/annoying to actually specify it with a selector.
(:nth-match() will help in many cases.)  It needs to be specified
explicitly if you're inserting boxes or something like that somehow.

>> Ideally you'd also have min and max constraints.
>
> min() and max()?

We're punting them from Values 3, and it's not entirely clear they're
feasible in general yet.

~TJ
Received on Thursday, 8 December 2011 23:17:48 GMT

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