Re: [CSS21] Errata - proposals for review - Margin collapsing, I

The following proposal is the outcome of the discussion between Arron 
and me in previous posts on this thread.


Proposal 6
==========

=Bug 16049=

Replace:
   # These steps do not affect the real computed values of the above
   # properties. The change of used 'height' has no effect on margin
   # collapsing except as specifically required by rules for
   # 'min-height' or 'max-height' in "Collapsing margins" (8.3.1).

with:

   | These steps do not affect the real computed value of 'height'.


=Bug 16036=

Add a new bullet to:
   # "Adjoining vertical margins collapse, except:"

   | - If the top margin of a box with non-zero computed 'min-height'
   |   and 'auto' computed 'height' collapses with the bottom margin of
   |   its last in-flow child, then the child's bottom margin does not
   |   collapse with the parent's bottom margin.


=Bug 16037=

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.



Cheers,
Anton Prowse
http://dev.moonhenge.net

Received on Saturday, 3 March 2012 18:15:16 UTC