W3C home > Mailing lists > Public > www-style@w3.org > August 2011

[css3-multicol] spanning elements & margin collape

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 17 Aug 2011 00:27:08 +0200
Message-ID: <20042.61116.746834.609149@gargle.gargle.HOWL>
To: www-style@w3.org
The multicol spec


is silent on how/whether spanning elements collapse. I meant to
address this issue before going to CR -- here's the start of the


I propose to add this text to the CR:

  A spanning element behaves as a block element wrt. collapsing.
  However, margins on a spanning element do not collapse with margins
  of a non-spanning sibling element.

  Example A:

    The bottom margin of a spanning element does not collapse with the
    top margin of a subsequent sibling.

  Example B:

    Margins between two adjacent spanning elements collapse. 

There is no disagreement about example A, I believe.

For B, it seems that Opera and IE do things differently: Opera
collapses, IE does not.

              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Tuesday, 16 August 2011 22:27:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:03 UTC