W3C home > Mailing lists > Public > www-style@w3.org > October 2007

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

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 14 Oct 2007 22:00:57 -0700
To: www-style@w3.org
Message-ID: <20071015050057.GA8946@ridley.dbaron.org>

On Sunday 2007-10-14 21:28 +0200, Bruno Fassino wrote:
> "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..."
> I suggest the following small corrections:
> - "less than" should be "less than or equal" (or "not greater than")
> - "greater than" should be "greater than or equal" (or "not less than")

This change looks wrong.

The intent was that the conditions exclude cases where min-height or
max-height affects the used height.  If you change them to "or
equal" then those cases are also included, and the only height:auto
case that is excluded is the case where min-height > max-height.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 15 October 2007 05:01:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC