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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16037

--- Comment #3 from Anton P <antonsforums@yahoo.co.uk> 2012-02-20 20:21:02 UTC ---
The proposal in Bug 16036 suggests that another change is needed to the quoted
item in Comment 2 above.  The "and a 'min-height' of zero" phrase actually
ensures that the item remains correct in the light of the proposal!  However,
the argument that it is misleading to focus on one particular case as if it
were the only relevant case still stands, so here is an alternative proposal
for this bug if the proposal for Bug 16036 is accepted:

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 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 Monday, 20 February 2012 20:21:04 UTC