Re: [css-flexbox] alignment of abs-pos flex descendants

On 05/07/2014 12:55 PM, Rossen Atanassov wrote:
> Section 4.1, Example 3 ends with the following statement:
>
> "Setting 'justify-content:center' on the flex container,
> however, would center it in the main axis."
>
> This appears confusing for two reasons:
> 1. The behavior makes sense only in cases when the flexbox
> itself is the abs-pos containing block. If the containing
> block is some distant ancestor alignment will not be appropriate.
> 2. Defining the behavior of positioning/sizing abs-po
>s elements based on alignment inside flexbox spec seems like
> the wrong place. Defining the static position only is fine
> but not the rest of the layout which this sentence implies.
>
> I propose we make the behavior applicable only in cases when
> the flexbox is the containing block. Also, consider moving
> the definition of alignment and abs-pos elements to the
> positioning draft.

Based on WG discussion at the Seoul F2F
   http://lists.w3.org/Archives/Public/www-style/2014Jun/0056.html
   http://lists.w3.org/Archives/Public/www-style/2014Jun/0107.html
where we were directed to recast the wording of the static position
rules but leave its behavior the same, we have updated this section
with some rewording.

This constitutes no substative change from the previous draft.

~fantasai

Received on Wednesday, 24 September 2014 20:21:31 UTC