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

Re: Stacking order question

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 16 Jul 2009 09:56:11 -0400
Message-ID: <4A5F317B.5000309@mit.edu>
To: Ben Cotterell <ben.cotterell@antplc.com>
CC: www-style@w3.org
Ben Cotterell wrote:

> See Appendix E: All non-positioned floating descendants, in tree 
> order. For each one of these, treat the element as if it created a 
> new stacking context, but any descendants which actually create a new
>  stacking context should be considered part of the parent stacking 
> context, not this new one.

This appears to have been clarified since the last public draft.  In 
particular, the current wg-internal draft says here:

   All non-positioned floating descendants, in tree order. For each
   one of these, treat the element as if it created a new stacking
   context, but any positioned descendants and descendants which
   actually create a new stacking context should be considered part
   of the parent stacking context, not this new one.

Note also that section 9.5 has similar verbiage:

   The contents of floats are stacked as if floats generated new stacking
   contexts, except that any positioned elements and elements that
   actually create new stacking contexts take part in the float's parent
   stacking context.

This last is true in both the public draft and in the wg-internal draft,
so the only change here was to bring Appendix E into agreement with 
section 9.5.

-Boris
Received on Thursday, 16 July 2009 13:57:04 GMT

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