[css-flexbox] Example 3 mentions "justify-self" when I think it wants to say "justify-content" (original) (raw)
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 ..."
Thanks, ~Daniel
Received on Friday, 3 January 2014 22:43:42 UTC