csswg/css3-multicol Overview.src.html,1.138,1.139

Update of /sources/public/csswg/css3-multicol
In directory hutz:/tmp/cvs-serv5740

Modified Files:
	Overview.src.html 
Log Message:
revising pseudo-algorithm

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-multicol/Overview.src.html,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -d -r1.138 -r1.139
--- Overview.src.html	7 Apr 2011 16:47:58 -0000	1.138
+++ Overview.src.html	15 May 2011 19:37:57 -0000	1.139
@@ -844,8 +844,9 @@
 
 (19)  if (column-width != auto) and (column-count != auto) then
 (20)    N := min(column-count, floor((available-width + column-gap) / (column-width + column-gap)))
-(21)    W := ((available-width + column-gap) / N) - column-gap;
-(22)  exit
+(21)    N := max(1, N); 
+(22)    W := ((available-width + column-gap) / N) - column-gap;
+(23)  exit
 </pre>
 
 

Received on Sunday, 15 May 2011 19:38:01 UTC