W3C home > Mailing lists > Public > www-style@w3.org > July 2008

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: Tue, 29 Jul 2008 18:34:17 -0700
Message-ID: <488FC519.5020702@inkedblade.net>
To: Arron Eicholz <Arron.Eicholz@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>

Arron Eicholz wrote:
>> I don't think it makes sense for margins that aren't anywhere close
>> to being "adjoining" to collapse.
> So... new issue: in
>   <div style="height: 500px;">
>     <div style="height: 10px;"/>
>   </div>
> We can't find anything in the spec that says these margins aren't
> adjoining, but there's this sentence in 8.3.1
>   # the expression collapsing margins means that adjoining margins
>   # (no non-empty content, padding or border areas or clearance
>   # separate them) of two or more boxes (which may be next to one
>   # another or nested) combine to form a single margin.
> which says that they are adjoining and do collapse.
> Given the effort that went into that paragraph about min/max-height,
> it doesn't seem like this interpretation was the spec writers' intent.
> Are we missing a sentence somewhere else or is this really a gaping
> hole in the Collapsing margins section?

Filed as CSS2.1 Issue 67

Received on Wednesday, 30 July 2008 01:34:55 UTC

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