- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Mon, 9 Mar 2009 22:24:46 +1300
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: www-style@w3.org
- Message-ID: <11e306600903090224w59abf8c3h267c808dfcce8e24@mail.gmail.com>
On Mon, Mar 9, 2009 at 7:33 PM, fantasai <fantasai.lists@inkedblade.net>wrote: > Murakami-san: I feel there's a problem with the margins in multicol > A multi-column element establishes a new block formatting context, as per > CSS 2.1 section 9.4.1. However, the top margin of the first element and > the bottom margin of the last element collapse with the margins of the > multi-column element as per the normal rules for collapsing. > <myakura> http://dev.w3.org/csswg/css3-multicol/#the-multi-column-model > "" > Murakami draws on the board > Murakami shows some examples > He says that the margins should not collapse through the multicol element > Sylvain: Alex was concerned about this, too. > fantasai explains that this behavior was put there because in the past > there was no value-based distinction between a multicol element with one > column and a normal element, and we didn't want to introduce a > discontinuity there but since there's now a default auto value for > column-count instead of 1, this problem doesn't exist > Editor's note: The above is wrong. There was always a value-based > distinction > between multicol and non-multicol, but there /was/ a stated desire for a > single > column multicol element to behave like a normal element. It seems this is > no > longer the case. > General agreement to remove margin-collapsing exception and treat multicol > as > a normal BFC. This is unfortunate; it means you can no longer add column styles to the <div> in markup like this <div> <p>... <p>... <p>... </div> and have it look good in browsers that support columns and browsers that don't :-(. That's the very reason I implemented margin collapsing across the column set boundary in the first place. Rob -- "He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]
Received on Monday, 9 March 2009 09:25:25 UTC