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

On Monday 2008-07-21 13:53 -0700, Arron Eicholz wrote:
>   - Firefox collapses when min-height or max-height is equal to the height,
>     *eats* the inner margins both when max-height is in effect /and/ when
>     min-height is in effect. We would expect that disabling margin-collapsing
>     when min-height is effect would cause the margins to add, not the inner
>     margin to be truncated.

As Bruno Fassino points out, this expectation is incorrect since
10.7 says the rules are re-run treating 'max-height' or 'min-height'
as though it were the computed value for 'height'.  Thus the inner
margin can potentially be truncated by the 'height'.

> and therefore this entire paragraph should be removed from the spec.

I don't think it makes sense for margins that aren't anywhere close
to being "adjoining" to collapse.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Tuesday, 22 July 2008 01:06:16 UTC