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

Re: Should z-index apply to transformed elements?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 10 Apr 2011 22:07:39 -0700
Message-ID: <4DA28C9B.80502@mit.edu>
To: Simon Fraser <smfr@me.com>
CC: www-style list <www-style@w3.org>
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 05:08:10 GMT

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