W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

z-index-abspos-009 invalid

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 17 Oct 2010 16:33:37 -0700
To: public-css-testsuite@w3.org
Cc: fantasai@inkedblade.net
Message-ID: <20101017233337.GA30869@pickering.dbaron.org>
I believe these tests:
are invalid because the root element establishes a stacking context.
This is stated explicitly in 9.9.1 ("The root element forms the root
stacking context.").  It also seems clear from appendix E (although
I'm not sure why items (1) and (2) in the top level list are

Since the root element establishes a stacking context, none of its
descendants can paint underneath its border or background.  This
test asserts that the div with z-index: -1 (red border) paints
underneath the root element's border (green).  However, nothing can
paint underneath the root element's border except for the root
element's background.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 17 October 2010 23:34:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:21 UTC