W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: Should z-index apply to transformed elements?

From: Andrew Fedoniouk <andrew.fedoniouk@live.com>
Date: Sun, 10 Apr 2011 23:53:49 -0700
Message-ID: <BLU159-ds6E44D2C4ECE933DEECE5BF8A80@phx.gbl>
To: "Boris Zbarsky" <bzbarsky@MIT.EDU>, "Simon Fraser" <smfr@me.com>
Cc: "www-style list" <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT