W3C home > Mailing lists > Public > www-style@w3.org > August 2008

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 21 Aug 2008 23:47:02 +0100
Message-ID: <48ADF066.2040301@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:11 GMT