W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css3-transforms] Containing block for abspos

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 23 Mar 2013 14:30:27 -0700
Message-ID: <CAAWBYDDwrJkpuSzBKpRS_9Sc=z+P3g=ze3kDXX=cysRsbb-Rvg@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style <www-style@w3.org>
On Sat, Mar 23, 2013 at 12:42 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> The spec for the 'transform' property says:
>
>> Any value other than ‘none’ for the transform results in the creation
>> of both a stacking context and a containing block. The object acts as
>> a containing block for fixed positioned descendants.
>
> What about absolutely positioned descendants? Are their containing block
> still the nearest positioned ancestor, or is it the nearest ancestor that is
> either positioned or transformed?

It's a containing block, so yes.  That last line is specifying
something additional, not limiting the previous clause.

~TJ
Received on Saturday, 23 March 2013 21:31:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT