Re: [css3-positioning] "Top layer" for positioned elements?

Le 17/01/2013 05:10, Tab Atkins Jr. a écrit :
> When positioned in the top layer, the element
> breaks out of any containing contexts, including pseudo-stackign
> contexts like 'opacity'.

This sounds like `position: fixed`.


> (I'm unsure of whether this means they
> *won't*  be affected by an ancestor's opacity/filter/etc, or if it'll
> be affected independently from the rest of the group they were
> originally in.  I suspect the former makes more sense and has better
> use-cases, and can perhaps be defined precisely in terms of "effects
> that create a pseudo-stacking context".)

Now that you mention this, I wonder how fixedpos is supposed to work 
when an ancestor creates a stacking context because eg. of opacity.

-- 
Simon Sapin

Received on Thursday, 17 January 2013 07:44:42 UTC