Re: Should z-index apply to transformed elements?

Boris,

I do not understand relationship of z-index and transformed elements.
Why this is needed or required?

Nor technically nor logically transform and z-index are related as far as I 
understand (and yet I have them both implemented).
Could you explain origin of the problem?

Thanks in advance,

-- 
Andrew Fedoniouk.

http://terrainformatica.com


-----Original Message----- 
From: Boris Zbarsky
Sent: Sunday, April 10, 2011 10:07 PM
To: Simon Fraser
Cc: www-style list
Subject: Re: Should z-index apply to transformed elements?

On 4/10/11 10:00 PM, Simon Fraser wrote:
>> As a data point, Firefox 4, Opera 11, and IE9 seem to apply z-index to 
>> transformed elements.  You can see a testcase of sorts at 
>> https://bug647494.bugzilla.mozilla.org/attachment.cgi?id=523831
>
> It seems a little arbitrary to apply z-index but not 'top' and 'left to 
> transformed elements. Or is z-index more worthy, because of how 
> transformed elements create stacking context?

That's a good question, yes.

Whatever happens here, the spec certainly needs to be clarified, since
it's pretty clear that everyone reading it thought one thing while the
person writing it thought another....

-Boris

Received on Monday, 11 April 2011 06:54:18 UTC