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

Re: [CSS2.1] Clarifying 8.3.1 Collapsing Margins

From: Anton Prowse <prowse@moonhenge.net>
Date: Thu, 16 Sep 2010 09:39:57 +0200
Message-ID: <4C91C9CD.5050006@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: "L. David Baron" <dbaron@dbaron.org>, fantasai <fantasai.lists@inkedblade.net>
On 16/09/2010 07:36, L. David Baron wrote:
> 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.

I agree with fantasai that participation in a block formatting context 
should be defined appropriately in 9.4.1 rather than worked around 
piecemeal in other places in the spec.

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Thursday, 16 September 2010 07:41:02 GMT

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