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;"/>
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 UTC

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