Re: [CSS2.1] Clarifying 8.3.1 Collapsing Margins

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 UTC