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

Re: [css-align] Definition of align-self inconsistent with css-flexbox for abspos

From: Daniel Holbert <dholbert@mozilla.com>
Date: Thu, 9 Apr 2015 12:58:57 -0700
To: Christian Biesinger <cbiesinger@google.com>, www-style list <www-style@w3.org>
message-id: <5526DA01.4040008@mozilla.com>
On 04/09/2015 11:41 AM, Christian Biesinger wrote:
> Separately, the prose in css-align never does specify what the
> *computed* value is for auto. It says what auto is equivalent to, but
> is not clear on whether that affects the computed value or not.

Chiming in on this side point: the flexbox spec's "align-self"
definition is clear on this, FWIW -- it explicitly says:
  # Computed value:
  #   auto computes to parent’s align-items value;
  #   otherwise as specified

However, I absolutely agree that the css-align spec's text on
"align-self:auto" needs clarification. It never directly says what
"align-self:auto" computes to, and it sort of suggests the wrong thing
-- read literally, it suggests that "align-self:auto" computes to the
parent's "justify-items" value. The "align-self" section says:
  # The auto and stretch keywords are
  # as defined in [...] the justify-self property.

...which links to the "justify-self" section that says the following
about "auto":
  # The auto keyword computes to [...]
  # the computed value of justify-items on the parent.

So, right now, the implication is (wrongly) that "align-self:auto"
computes to the parent's "justify-items" value.

Received on Thursday, 9 April 2015 19:59:29 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC