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: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 15 Oct 2007 00:41:43 -0400
Message-ID: <4712EF87.5050504@inkedblade.net>
To: Bruno Fassino <fassino@gmail.com>, www-style@w3.org

Bruno Fassino wrote:
> 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
> change.

Thanks for the comment. Recorded as issue 14:
   http://csswg.inkedblade.net/spec/css2.1#issue-14

~fantasai
Received on Monday, 15 October 2007 04:41:55 GMT

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