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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 26 Jan 2012 12:00:54 -0800
Message-ID: <CAAWBYDC=v8me-HJ7y-pCAA_ZH9OkikVjVtr2Rp_k3svkEpD6wg@mail.gmail.com>
To: Daniel Holbert <dholbert@mozilla.com>
Cc: www-style@w3.org
On Thu, Jan 26, 2012 at 11:58 AM, Daniel Holbert <dholbert@mozilla.com> wrote:
> (inserting [css3-flexbox] into subject)
>
> I've got a (probably trivial) followup question on this.
>
> The ED now says that flex-item-align's computed value is as follows:
>> ‘auto’ computes to flexbox's ‘flex-align’; otherwise as specified
> http://dev.w3.org/csswg/css3-flexbox/#flex-item-align
>
> What should "auto" compute to for elements that *aren't* inside of a
> flexbox? (in which case there is no flexbox to derive the "flexbox's
> ‘flex-align’" from)
>
> I'm guessing that it'd just compute to "auto", yes?  If so, perhaps the spec
> could be changed to clarify this like so:
>> on a flexbox item, ‘auto’ computes to the flexbox's
>>‘flex-align’; otherwise as specified
> (just inserting "on a flexbox item" at the beginning)

Good catch.  That sounds reasonable.

~TJ
Received on Thursday, 26 January 2012 20:01:48 GMT

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