Re: [CSS Intrinsic & Extrinsic Sizing] sizing of absolutely positioned elements

On Fri, Oct 19, 2012 at 1:06 PM, Ojan Vafai <> wrote:
> Just to make sure I understand this, what happens in the following case:
> <div style="position: relative; padding: 100px">
>     <div style="position:absolute; height: fill-available"></div>
> </div>
> The way I read the spec, the absolutely positioned div should be 200px tall,
> yes?

Correct.  The containing block for the abspos is the padding box of
the relpos, which is 200px tall.


Received on Friday, 19 October 2012 20:41:48 UTC