Re: [CSS21] CR-CSS21-20070719, 8.3.1 Collapsing in presence of min/max-height, small correction suggested

L. David Baron wrote:
> 
> I think what we want to do is replace:
>   # The bottom margin of an in-flow block-level element with a
>   # 'height' of 'auto' and 'min-height' less than the element's used
>   # height and 'max-height' greater than the element's used height
>   # is adjoining to its last in-flow block-level child's bottom
>   # margin if the element has no bottom padding or border. 
> 
> with:
>   # The bottom margin of an in-flow block-level element is adjoining
>   # to its last in-flow block-level child's bottom margin when:
>   #   * the element's specified 'height' is 'auto',
>   #   * the element's computed height is the same as it would have
>   #     been if the specified value of 'min-height' were '0' and the
>   #     specified value of 'max-height' were 'none', and
>   #   * the element has no bottom padding or border. 
> 
> This fixes the issue in this thread using the hypothetical, and also
> fixes the issue (pointed out recently, I think) that the text should
> say something about blocks where the height conditions do not match.

Couldn't that second bullet just say

    * the element's used height is the same as it would have been if
      'min-height' and 'max-height' had their initial values

?

~fantasai

Received on Thursday, 21 August 2008 22:47:39 UTC