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.

Received on Monday, 14 May 2012 06:53:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:59 UTC