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

Re: [css3-flexbox] Computed value and flex-align/flex-item-align.

From: Daniel Holbert <dholbert@mozilla.com>
Date: Thu, 26 Jan 2012 20:41:34 -0800
Message-ID: <4F222AFE.5040800@mozilla.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On 01/26/2012 08:15 PM, Alex Mogilevsky wrote:
> I can't see any problems with getting 'auto' for
 > alignment, so if we insist on treating that as 'inherit'

Just to be sure we're on the same page -- we're not quite talking about 
treating auto as 'inherit'.

Rather:
* flex-item-align:inherit means "use my parent's flex-item-align value"
* flex-item-align:auto means "use my parent's flex-align value" (NOT its 
flex-item-align value)

So, unlike "inherit", "auto" queries a *different* (but related) property 
on the parent.

~Daniel
Received on Friday, 27 January 2012 04:42:04 GMT

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