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

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
   http://csswg.inkedblade.net/spec/css2.1#issue-67

~fantasai

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