W3C home > Mailing lists > Public > www-style@w3.org > October 2010

[css3-multicol] spanning elements

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 25 Oct 2010 15:58:47 +0200
Message-ID: <19653.36119.583256.887674@gargle.gargle.HOWL>
To: www-style@w3.org
Two issues have been raised about spanning elements:


1) does margin collapsing apply to spanning elements? 

2) do spanning elements establish new block formatting contexts?

On the first topic, the answer is probably yes. If a spanning element
comes first (or last) in a multicol element, it makes sense to
collapse the top (bottom) margin as per the normal rules. Also, if a
spanning element ends up on the top (bottom) of a page, it makes sense
to treat it as any other element. Further, it makes sense to collapse
margins if there are to consecutive spanning elements. However, it
does not make sense to collapse the top (bottom) margin with a column
row above (below) it as column rows don't have margins set on them.
Also it doesn't make sense to collapse the top (bottom) margin of a
spanning element with the margins of elements inside the column boxes.

On the second topic, the answer is also yes, probably. No?


              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Monday, 25 October 2010 13:59:25 UTC

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