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: Bruno Fassino <fassino@gmail.com>
Date: Wed, 20 Aug 2008 16:28:44 +0200
Message-ID: <da98bce00808200728u357bb67dm7bde479d14dba813@mail.gmail.com>
To: www-style@w3.org

On Wed, Aug 20, 2008 at 12:36 PM, 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.


In the second bullet did you mean:
  "the element's _used_ height is the same as..."  (_used_ in place of
_computed_)  ?

I'm always rather confused by these terms "computed", "used", but the
description at 7.3.1 states that
  "These steps do not affect the real computed values of the above properties"
which I assume to mean that min-/max-height never affects the
'computed' height, but may affect the used height.


Bruno

-- 
Bruno Fassino http://www.brunildo.org/test
Received on Wednesday, 20 August 2008 14:29:19 GMT

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