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

RE: column-span and margin-collapsing (was: [CSSWG] Minutes and Resolutions 2011-09-21)

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 26 Sep 2011 22:44:51 +0200
Message-ID: <20096.58435.391682.683106@gargle.gargle.HOWL>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Also sprach Alex Mogilevsky:

 > ±  > ±    <div style="overflow: hidden; margin: 100px 0;"></div> 
 > ±  > ±    <div style="overflow: hidden; margin: 100px 0;"></div>
 > ±  >
 > ±  > But this behavior is different for what one would expect for what  
 > ±  > appeared to be your main use case:
 > ±  > 
 > ±  > 	<h1 style="column-span:all">Title</h1>	
 > ±  > 	<h2 style="column-span:all">Subtitle</h2>	
 > ±  > 	<p style="column-span:all">Abstract...</p>
 > ±
 > ± I don't understand why it's different; in Opera's implementation, collapsing would occur in 
 > ± both examples. And float crossing would not occur in any of them.
 > 
 > H1, h2 etc. are normally not BFC 

True.

 > (their margins collapse with child margin and margins collapse
 > trough empty boxes). Then simply adding margin collapsing to
 > external margins of colspan doesn't really create compatibility
 > with single-column flow.

For the simple use cases above, they would be compatible.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Monday, 26 September 2011 20:45:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT