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

Re: z-index

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 18 Jul 2002 22:38:09 -0400
Message-Id: <200207190238.WAA20053@nerd-xing.mit.edu>
To: "Sigurd Lerstad" <sigler@bredband.no>
cc: www-style@w3.org

> I thought that the z-index specified in what order to
> draw sibling elements, but apparently it doesn't?

It specifies the order in which to draw the elements in a given stacking
context.

In your case, everything has z-index auto, so per CSS2 things should be
drawn in document order, with the second <p> being on top of the <em>
which is on top of the first <p>.  No existing implementation actually
does it that way, as you noted.

Last I heard, the WG was going to attempt address this issue (possibly
by making an erratum to the z-index section).

Boris
-- 
Wallet [n]: Mythical object rumored to carry
mysterious, disappearing substances referred to as
"money" or "cash" (not to be confused with the C
Shell).  The association of this "money" to real life
is currently being researched by R&D (put Reality in
the Background; Dammit).  Full results are expected
RSN, however, preliminary results indicate that this
substance "money" is often required to obtain such
necessities as computers, pizza, hard drives, caffeine,
a network connection, and resolving the conflict
between ordering the pizza and maintaining your network
connection.
Received on Thursday, 18 July 2002 22:40:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:15 GMT