[Bug 16226] Margin collapsing: Clarify Note in 8.3.1 to use computed values of properties

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

--- Comment #3 from Anton P <antonsforums@yahoo.co.uk> 2012-03-04 11:02:16 UTC ---
Proposal:

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.
  # - A box's own margins collapse if the 'min-height' property
  #   is zero, and it has neither top or bottom borders nor top
  #   or bottom padding, and it has a 'height' of either 0 or
  #   'auto', and it does not contain a line box, and all of its
  #   in-flow children's margins (if any) collapse.

with:

  | - The bottom margin of an in-flow block box with a computed
  |   'height' of 'auto' and a computed '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.
  | - A box's own margins collapse if it has a computed
  |   'min-height' of zero, and it has neither top or bottom
  |   borders nor top or bottom padding, and it has a computed
  |   'height' of either 0 or 'auto', and it does not contain a
  |   line box, and all of its in-flow children's margins (if
  |   any) collapse.

-- 
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 Sunday, 4 March 2012 11:02:18 UTC