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

[css-flexbox] [css-align] inconsistent computed value for align-self: auto

From: Christian Biesinger <cbiesinger@google.com>
Date: Thu, 23 Jul 2015 11:47:11 -0400
Message-ID: <CAPTJ0XHb621NNGJkjEAeJXuS2DwqN_eHJbbZUVeh+FbNWZTiPw@mail.gmail.com>
To: www-style list <www-style@w3.org>
Hi there,

I noticed a difference in the definition of the computed value for
align-self: auto

Flexbox says:
https://drafts.csswg.org/css-flexbox/#align-items-property
Computed value: auto computes to parent’s align-items value; otherwise
as specified

Align says:
The auto keyword computes to itself on absolutely-positioned elements [...]
https://drafts.csswg.org/css-align/#justify-self-property (referenced
by align-self:
https://drafts.csswg.org/css-align/#align-self-property )

This difference matters, because that means that for flexbox,
align-self will compute to stretch by default and therefore stretch an
abspos item. Whereas for align, it will compute to auto and not
stretch.

Could we change flexbox to match align?

-christian
Received on Thursday, 23 July 2015 15:47:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC