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

Re: [css3-flexbox] Computed value of "flex-item-align:auto" on the root node

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 14 May 2012 08:52:44 +0200
Message-ID: <CAAWBYDBAOj2GYnkXf21TDeZZA12mMnjhrDbvcjBaSpapUpi-wQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Daniel Holbert <dholbert@mozilla.com>, www-style list <www-style@w3.org>
On Sat, May 12, 2012 at 5:15 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 5/12/12 5:49 AM, Tab Atkins Jr. wrote:
>> Luckily, the issue here with not knowing whether a child is an item or
>> not has been resolved
>
> That's not the point.  The point is that defining computation differently
> for flexbox items and non-flexbox items complicates implementations (and
> will significantly complicate the spec, I suspect).  Is there a benefit to
> doing it that way?  If not, then just do the simpler thing which uniformly
> computes 'auto' to the flex-align of the parent (modulo the root element
> issue).

Ah, yes, I could do that here.  I can't give the same uniform
treatment to 'flex-basis', unfortunately, because it depends on which
direction the main axis points, and if you're not in a flexbox you
don't have a main axis.

~TJ
Received on Monday, 14 May 2012 06:53:33 GMT

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