Re: [css3-multicol] spanning elements

On Mon, Oct 25, 2010 at 6:58 AM, Håkon Wium Lie <howcome@opera.com> wrote:
> Two issues have been raised about spanning elements:
>
>   http://dev.w3.org/csswg/css3-multicol/#column-span
>
> 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.

I prefer this, and agree with your reasoning.


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

Yes, I expect so.

~TJ

Received on Monday, 25 October 2010 18:48:33 UTC