Re: [css3-flexbox] absolutely positioned flex item should not have side effect on space distribution

On Wed, Jul 11, 2012 at 3:34 AM, John Hax <johnhax@gmail.com> wrote:
> Absolutely positioned flex item should not have side effect on space
> distribution. Since space-* is about distribute spaces evenly,
>
>   A--B--C
>
> with B absolutely positioned, should be rendered as
>
>   A--C
>
> , where B is positioned at the middle of A and C if all
> 'top'/'bottom'/'right'/'left' are 'auto'。

The current behavior, where it does have an effect, is a side-effect
of abspos behavior.  It was done partially to be consistent with
abspos behavior in other display modes where they're observable
(abspos elements trigger the creation of an anonymous table-cell if
they're nestled between two other display:table-cell elements), and
partially to make it easier to define the "auto" position of abspos
elements.

~TJ

Received on Wednesday, 11 July 2012 15:37:41 UTC