- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 18 Oct 2010 14:15:25 -0700
- 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. Fixed: http://test.csswg.org/source/contributors/hixie/submitted/css2.1/visuren/z-index-abspos-009.xht Let me know if this is correct, and if so I'll mark it r=dbaron. ~fantasai
Received on Monday, 18 October 2010 21:16:02 UTC