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

Re: z-index-abspos-009 invalid

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 18 Oct 2010 14:15:25 -0700
Message-ID: <4CBCB8ED.6010300@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>
CC: public-css-testsuite@w3.org
On 10/17/2010 04:33 PM, L. David Baron wrote:
> I believe these tests:
> http://test.csswg.org/suites/css2.1/20101001/html4/z-index-abspos-009.htm
> http://test.csswg.org/suites/css2.1/20101001/xhtml1/z-index-abspos-009.xht
> 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
> separate.
> 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.


Let me know if this is correct, and if so I'll mark it r=dbaron.

Received on Monday, 18 October 2010 21:16:02 UTC

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