W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [CSS2.1] Clarifying 8.3.1 Collapsing Margins

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 15 Sep 2010 22:36:38 -0700
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20100916053638.GA6951@pickering.dbaron.org>
On Wednesday 2010-09-15 02:00 -0700, fantasai wrote:
>  |   * both belong to normal-flow block-level boxes that participate
>  |     in the same block formatting context

How about changing this to something like the following two points:

 * neither belongs to an out-of-flow box
 * both belong to block-level boxes that participate in
   the same block formatting context (where an in-flow block
   that establishes a new block formatting context is considered to
   participate in the block formatting context outside it)

That makes it clear that the margins of 'overflow:hidden' elements
can collapse with what's outside them but not what's inside them,
and that margins of out-of-flows never collapse.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 16 September 2010 05:37:13 GMT

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