- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 28 Jul 2010 20:25:33 -0700
- To: "www-style@w3.org" <www-style@w3.org>
On 07/28/2010 08:01 PM, fantasai wrote: > This is for CSS2.1 Issue 159 > http://wiki.csswg.org/spec/css2.1#issue-159 > triggered by this email > http://lists.w3.org/Archives/Public/www-style/2010Feb/0015.html > > | In CSS, the adjoining margins of two or more boxes (which could be > | next to one another or nested) can combine to form a single margin. > | Margins that behave this way are called <dfn>collapsing margins</dfn>. > | > | Two margins are adjoining if and only if: > | * no non-empty content, padding or border areas; line boxes; > | or clearance separate them > | * both belong to normal-flow block-level boxes in the same block > | formatting context Hm, need to add | * if one belongs to a last in-flow child and the other belongs to | its parent, the parent's used height is not the result of a | specified height constraint (via 'height', 'max-height', or | 'min-height'). I *think* that covers it. ~fantasai
Received on Thursday, 29 July 2010 03:26:09 UTC