W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: [CSS21] Margin-Collapse Property to fix inconsistency

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 17 Jun 2007 18:02:51 -0700
To: www-style@w3.org
Message-ID: <20070618010251.GA1406@ridley.dbaron.org>
On Saturday 2007-06-16 21:41 -0700, Nicholas Retallack wrote:
> margin-collapse: vertical | horizontal | both/all | none

I'd prefer to avoid mode-switching properties when possible, since
they cascade very poorly.  (In general, the decision of what should
be a separate property vs. a value for an existing property ought to
be based significantly on whether they make sense to specify and
cascade separately.)

Collapsing of side margins, and collapsing of margins of floats with
things outside them seem unnecessarily complicated.  Either would
require a precise definition of when margins are adjacent.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Monday, 18 June 2007 01:02:58 GMT

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