W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > April 2012

[Bug 16037] Margin collapsing: unintuitive collapsing between last child and auto-height, large min-height parent

From: <bugzilla@jessica.w3.org>
Date: Wed, 11 Apr 2012 16:05:17 +0000
To: public-css-bugzilla@w3.org
Message-Id: <E1SI02n-0000NE-AL@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16037

--- Comment #5 from Anton P <antonsforums@yahoo.co.uk> 2012-04-11 16:05:15 UTC ---
An updated proposal is:
[http://lists.w3.org/Archives/Public/www-style/2012Mar/0052.html]

Replace:
   #  - The bottom margin of an in-flow block box with a 'height' of
   #    'auto' and a 'min-height' of zero collapses with its last in-flow
   #    block-level child's bottom margin if the box has no bottom
   #    padding and no bottom border and the child's bottom margin does
   #    not collapse with a top margin that has clearance.

with:
   | - The bottom margin of an in-flow block box with a 'height' of
   |   'auto' collapses with its last in-flow block-level child's bottom
   |   margin, if:
   |      - the box has no bottom padding, and
   |      - the box has no bottom border, and
   |      - the child's bottom margin neither collapses with a top margin
   |        that has clearance, nor (if the box's min-height is non-zero)
   |        with the box's top margin.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 11 April 2012 16:05:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 11 April 2012 16:05:27 GMT