Re: [css3-flexbox] containing block for absolutely positioned children of a flexbox

Ah, right -- it's been a while since I worked with abspos stuff, and I 
initially misinterpreted "containing block" when re-skimming the css2.1 
visual formatting model chapter.

Thanks for the clarification!

~Daniel

On 02/09/2012 11:48 AM, Robert O'Callahan wrote:
> On Fri, Feb 10, 2012 at 7:05 AM, Daniel Holbert <dholbert@mozilla.com
> <mailto:dholbert@mozilla.com>> wrote:
>
>     Just wanted to be sure I'm understanding correctly: flexboxes do
>     *not* act as containing blocks for absolutely-positioned children,
>     correct? Instead, the flexbox's closest ancestor that is a block
>     will serve that purpose. (?)
>
>
> They should follow the same model as the rest of CSS: the abs-pos
> containing block is the nearest positioned ancestor. Which could be a
> flexbox.
>
> Rob
> --
> "If we claim to be without sin, we deceive ourselves and the truth is
> not in us. If we confess our sins, he is faithful and just and will
> forgive us our sins and purify us from all unrighteousness. If we claim
> we have not sinned, we make him out to be a liar and his word is not in
> us." [1 John 1:8-10]

Received on Thursday, 9 February 2012 22:54:43 UTC