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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 3 Jan 2014 14:51:44 -0800
Message-ID: <CAAWBYDD5qc1RtDC2FCXKFVcuFiCyv3rdFodbTMQNfCg=c_qmbw@mail.gmail.com>
To: Daniel Holbert <dholbert@mozilla.com>
Cc: www-style list <www-style@w3.org>
On Fri, Jan 3, 2014 at 2:43 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
> 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.
> http://dev.w3.org/csswg/css-flexbox/#abspos-items
> 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_ ..."

It actually is intended to be justify-self, with reference to the
Alignment spec.  But it could be changed to justify-content on the
container instead.

Received on Friday, 3 January 2014 22:52:32 UTC

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