W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css3-flexbox][css-ALL] Should z-index Just Work on flex items?

From: Simon Fraser <smfr@me.com>
Date: Mon, 09 Jul 2012 10:53:48 -0700
Cc: fantasai <fantasai.lists@inkedblade.net>, WWW Style <www-style@w3.org>
Message-id: <3E04CE20-336F-4482-BA83-9C0B6554AA27@me.com>
To: Kang-Hao Lu <kennyluck@csail.mit.edu> (Kenny)
On Jul 9, 2012, at 7:54 AM, Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu> wrote:

> (12/07/09 15:24), fantasai wrote:
>> The question I have is, going forward, do we want new CSS layout modes
>> to let z-index do its job whenever it's non-'auto', without requiring
>> 'position: relative'?
> 
> While I think this is a good thing to do, I wonder if we can be more
> aggressive in this direction. That is, do this for:
> 
> 1. A multicol element
> 2. A transformed element (does this already happen?)

No.

> 3. An element with 'inline-block'
> 
> and probably more. Apparently, this needs compatibility research...
> 
> Or is there a good reason why we should start with flex items?

I've seen plenty of content with z-index on things that are not positioned, so making changes like this will likely break content.

Simon
Received on Monday, 9 July 2012 17:54:18 GMT

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