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

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 UTC