- From: H?kon Wium Lie via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 08 Mar 2011 23:59:20 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-multicol In directory hutz:/tmp/cvs-serv8686 Modified Files: Overview.src.html Log Message: changed pseudo-algorith as per today's discussions in the CSS WG F2F meeting Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-multicol/Overview.src.html,v retrieving revision 1.129 retrieving revision 1.130 diff -u -d -r1.129 -r1.130 --- Overview.src.html 8 Mar 2011 16:37:40 -0000 1.129 +++ Overview.src.html 8 Mar 2011 23:59:18 -0000 1.130 @@ -789,16 +789,8 @@ (14) fi (15) (16) if (column-width = auto) then -(17) if ((column-count - 1) * column-gap < available-width) then -(18) N := column-count; -(19) W := (available-width - ((N - 1) * column-gap))/N; -(20) elsif (column-gap >= available-width) then -(21) N := 1; -(22) W := available-width; -(23) else -(24) N := floor(available-width/column-gap); -(25) W := (available-width - ((N - 1) * column-gap))/N; -(26) fi +(18) N := column-count; +(19) W := max(0, (available-width - ((N - 1) * column-gap))/N); (27) elsif (column-count = auto) then (28) if (column-width >= available-width) then (29) N := 1 @@ -811,7 +803,7 @@ (36) N := 1 (37) W := available-width; (38) else -(39) N := floor((available-width + column-gap) / (column-width + column-gap)); +(39) N := min(column-count, floor((available-width + column-gap) / (column-width + column-gap))) (40) W := ((available-width + column-gap) / N) - column-gap; (41) fi </pre>
Received on Tuesday, 8 March 2011 23:59:22 UTC