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

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

From: Bruno Fassino <fassino@gmail.com>
Date: Sun, 14 Oct 2007 21:28:15 +0200
To: <www-style@w3.org>
Message-ID: <000a01c80e98$75e467a0$6905a8c0@bruno>

In 8.3.1:

"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 would be more consistent with the rules at 10.7 and more logical:
roughly speaking when min-height is exactly equal to the element's used
height, then min-height is not really in effect, and all should be as in the
case of min-height less than the element's used height.

Firefox is the only browser that I know that stops that margins collapsing
when min/max-height is in effect, and it behaves according to the suggested

Best regards,

Bruno Fassino

Received on Monday, 15 October 2007 04:17:17 UTC

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