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

RE: [css3-multicol] pseudo-algorithm

From: Håkon Wium Lie <howcome@opera.com>
Date: Tue, 8 Feb 2011 15:24:42 +0100
Message-ID: <19793.21034.256842.957790@gargle.gargle.HOWL>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
Also sprach Alex Mogilevsky:

 > BTW you can further improve this degradation track by changing line (17) from 
 > 	(17)    if ((column-count - 1) * column-gap < available-width) then
 > to	
 > 	(17)    if ((column-count - 1) * column-gap <= available-width) then
 > If you consider zero-width columns an acceptable multicolumn
 > layout, you will get 3 zero-width columns at 50px gap.

To me, it seems that changing line (17) will have no impact; you will
in any case get 3 zero-width columns at 50px gap. The only differnce
is that line 18 will set it to three, rather than line 24.

I think we must allow zero-width columns. This will also occur when
'column-count' approaches infinity. But we probably don't want to
allow 'column-width: 0'. In the editor's draft, I have clarified that
zero is an acceptable computed value for 'column-count'.


              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Tuesday, 8 February 2011 14:25:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:56 UTC