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

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.

~TJ

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