Re: Interaction between opacity and transform-style

On Mon, Mar 5, 2012 at 7:19 PM, Aryeh Gregor <ayg@aryeh.name> wrote:

> 1) What order do the boxes render?  Without the opacity, it should be
> the green box on top of the red box on top of the yellow box (in order
> of Z-coordinate).  This is how Chrome 19 dev behaves with opacity.
> Firefox 13.0a1 puts the yellow box on top of the green box on top of
> the red box.  The current spec seems to imply that the yellow box
> should be on top of the red box on top of the green box (in DOM
> order), because it says the transform-style of an element with opacity
> is always flat.  Chrome's behavior certainly makes the most sense,
> because it's surprising that opacity would affect Z-ordering.
>

Why is that surprising? opacity has always affected Z-ordering in CSS.

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]

Received on Thursday, 15 March 2012 00:22:31 UTC