W3C home > Mailing lists > Public > www-style@w3.org > December 2014

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 16 Dec 2014 19:26:14 -0800
Message-ID: <5490F7D6.4060002@inkedblade.net>
To: www-style@w3.org
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

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