W3C home > Mailing lists > Public > www-style@w3.org > October 2015

Re: [css-align] computed value of 'align-self: auto'

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 2 Oct 2015 18:24:39 -0400
To: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
Message-ID: <560F0427.2050603@inkedblade.net>
On 09/11/2015 06:20 PM, L. David Baron wrote:
> Reading the specification literally (although it's kinda clear
> what's intended),
> https://drafts.csswg.org/css-align/#propdef-align-self says:
>
>    # The auto and stretch keywords are as defined in ยง5.1
>    # Inline/Main-Axis Alignment: the justify-self property.
>
> which in turn says:
>
>    # The auto keyword computes to itself on absolutely-positioned
>    # elements, and to the computed value of justify-items on the
>    # parent (minus any legacy keywords) on all other boxes, or start
>    # if the box has no parent. Its behavior depends on the layout
>    # model, as described below.
>
> which means that the computed value of 'align-self: auto' is derived
> from the value of 'justify-items' on the parent element.  I believe
> deriving from 'align-items' was intended.

Fixed, thanks!
   https://hg.csswg.org/drafts/diff/c4924a259367/css-align/Overview.bs

~fantasai
Received on Friday, 2 October 2015 22:25:09 UTC

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