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 20:09:47 +0100
Message-ID: <19793.38139.676281.476030@gargle.gargle.HOWL>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: www-style@w3.org
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.


 > 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:


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

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:56 UTC