- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 3 Jan 2014 14:51:44 -0800
- 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. ~TJ
Received on Friday, 3 January 2014 22:52:32 UTC