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

[css-flexbox] Example 3 mentions "justify-self" when I think it wants to say "justify-content"

From: Daniel Holbert <dholbert@mozilla.com>
Date: Fri, 03 Jan 2014 14:43:15 -0800
Message-ID: <52C73D03.7070207@mozilla.com>
To: www-style list <www-style@w3.org>
In section 4.1 of the Flexbox ED (the section on Absolutely-Positioned
Flex Children), there's a chunk labeled "Example 3" which says:

 # For example, by default, the static position of an
 # absolutely positioned element aligns it to the
 # main-start/cross-start corner, corresponding to the
 # default values of justify-self and align-self.
 # Setting justify-self:center, however, would center
 # it in the main axis.

This is the only mention of "justify-self" in the whole document, so I'm
guessing that's a mistake.  I think it means to say "justify-content"?
(justify-self is not defined in the flexbox spec, though it is defined
elsewhere, in the CSS Box Alignment spec.)

Also: it'd probably be worth explicitly saying which element to set this
property on, since (for justify-content) it applies to the container,
*not* the abspos child.  So e.g. "Setting justify-content:center _on the
flex container_ ..."

Received on Friday, 3 January 2014 22:43:42 UTC

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