RE: [css3-multicol] pseudo-algorithm

Also sprach Alex Mogilevsky:

 > Ah, I see, after you fix line 24, changing line 17 to "<=" makes no
 > difference when zero-width columns with their gaps fit precisely
 > into the width.

Right.

 > I may have missed the discussion that led to lines 23-26 though.
 > That part of the algorithm takes off at the point where nothing
 > fits at all and tries to give priority to column gap over column
 > count, which leads to a transition from 3 zero-width columns to 2
 > usable columns. 2 columns could be useful, but if you have to hit
 > zero first I find that questionable...

But implemenations have to deal with zero-width columns anyway; if you set:

   column-count: 999999999

or something, you will effectively have zero-width columns. 

Given that we clip columns, I think it's managable. 

Another alternative is to try find some minimal column width, as
suggested here:

  http://lists.w3.org/Archives/Public/www-style/2010Nov/0434.html

However, I don't see any simple ways to improve such overconstrained
situations. Feel free to propose something, though.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Tuesday, 8 February 2011 19:10:25 UTC