W3C home > Mailing lists > Public > www-style@w3.org > November 2014

[CSS2.1] Fixed z-index interop issue

From: Greg Whitworth <gwhit@microsoft.com>
Date: Thu, 20 Nov 2014 01:59:57 +0000
To: www-style list <www-style@w3.org>
Message-ID: <BN3PR0301MB0868D2A705964AA0E1A22961A4760@BN3PR0301MB0868.namprd03.prod.outlook.com>
Hello everyone,

We have discovered another interop issue involving a fixed position box with a child that is relative and has a z-index. Here is an example: http://jsfiddle.net/bh6tdww8/show/

In that example Gecko/IE show a yellow square while Blink/Webkit show a blue square. I believe this is a bug in Blink/Webkit because if you switch the blocks to a position of absolute instead of fixed, Gecko/Blink/IE/Webkit all show a yellow square. http://jsfiddle.net/bh6tdww8/1/show/

I looked at the spec regarding stacking contexts[1] and positioning[2];  and I didn't see anywhere that states that when fixed positioning is applied that it should behave in a different manner than absolute in relation to these areas.


Thank you,

[1] http://dev.w3.org/csswg/css2/visuren.html#layers
[2] http://dev.w3.org/csswg/css2/visuren.html#positioning-scheme
Received on Thursday, 20 November 2014 02:00:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:48 UTC