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

Re: Should z-index apply to transformed elements?

From: Alan Gresley <alan@css-class.com>
Date: Mon, 11 Apr 2011 21:48:36 +1000
Message-ID: <4DA2EA94.2040908@css-class.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: Andrew Fedoniouk <andrew.fedoniouk@live.com>, Boris Zbarsky <bzbarsky@MIT.EDU>, Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
On 11/04/2011 9:07 PM, Alan Gresley wrote:

> http://css-class.com/test/css/3/transitions/rotate-on-hover-and-origin.htm
>
>
> I also note something else and that is having to use position relative
> to correctly stack the float (yellow box, midde layer) between the outer
> box and the inner box before any transformation via transition. The text
> in the float is then painted higher than the inner box when the
> transition is over. The only way to counter this is to add z-index to
> the inner box.


Just checked. The text layering bug is only in Firefox 4. Opera, IE9 and 
WebKit do not have this bug.




-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Monday, 11 April 2011 11:49:09 GMT

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