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

Re: Computed value and flex-align/flex-item-align.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 13 Jan 2012 14:40:49 -0800
Message-ID: <CAAWBYDAO+AqUprk1pevh=tWvVkeVUOyAYBuzPjyOadTs+9hqhg@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: www-style@w3.org, Tony Chang <tony@chromium.org>
On Thu, Jan 12, 2012 at 4:43 PM, Ojan Vafai <ojan@chromium.org> wrote:
> http://dev.w3.org/csswg/css3-cascade/#computed
> "Computed values are processed as far as possible without formatting the
> document. Some values, however, can only be determined when the document is
> being laid out."
> http://dev.w3.org/csswg/css3-flexbox/#flex-item-align
> "A value of ‘auto’ for ‘flex-item-align’ makes the flexbox item use the
> alignment specified by ‘flex-align’ on its flexbox."
> That text in the cascading spec is a little vague. If an element has
> flex-item-align:auto, should it's computed value be "auto" or should it be
> the parent's flex-align value?

Hmm, I didn't consider that well enough.

I think that 'auto' should compute to the value of flex-align.  I'll
update the draft.

Received on Friday, 13 January 2012 22:41:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:09 UTC