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: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 14 May 2012 11:12:55 -0400
Message-ID: <4FB120F7.2080308@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Daniel Holbert <dholbert@mozilla.com>, www-style list <www-style@w3.org>
On 5/14/12 2:52 AM, Tab Atkins Jr. wrote:
> 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.

The current spec for flex-basis says:

   an absolute length, or a percentage or a keyword as specified

So there is no problem there at all.  And this behavior makes sense, 
imo: inheriting "auto" should probably inherit as "auto" here, not as a 
length....

-Boris
Received on Monday, 14 May 2012 15:13:37 GMT

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