Re: [css-align] Computed value when using "auto"

On 08/01/2014 03:02 PM, Javier Fernandez wrote:
> Hi,
>
> I've got another question regarding this topic. Both, align-self and
> justify-self are resolved to the parent's align-items and justify-items
> respectively. In the Felxbox specification it's considered for these
> properties the scenario of elements without a parent, which in such
> case, "auto" will be resolved to "stretch".
>
> Should the Box Alignment spec clarify that case as well ? Perhaps using
> "stretch" for  flex and grid, and "start" for everything else ?

Since it's not possible for a box without a parent to be a grid or flex
item, we just wrote in that it becomes ''start'' if there's no parent.

Let us know if we're missing anything here. :)

~fantasai

Received on Wednesday, 17 December 2014 03:27:20 UTC