W3C home > Mailing lists > Public > www-style@w3.org > February 2012

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

From: Daniel Holbert <dholbert@mozilla.com>
Date: Thu, 09 Feb 2012 14:54:15 -0800
Message-ID: <4F344E97.3090409@mozilla.com>
To: robert@ocallahan.org
CC: www-style <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT