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

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 UTC