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: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Tue, 22 Jul 2008 17:05:12 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <66D5CB5D6AB0694592FAF5487C50368B21236A0ACA@NA-EXMSG-C111.redmond.corp.microsoft.com>

> 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?

--
fantasai and Arron Eicholz
Received on Wednesday, 23 July 2008 00:05:58 GMT

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