- From: H?kon Wium Lie via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 08 Mar 2011 23:59:25 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-multicol In directory hutz:/tmp/cvs-serv8718 Modified Files: Overview.html Log Message: x Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-multicol/Overview.html,v retrieving revision 1.127 retrieving revision 1.128 diff -u -d -r1.127 -r1.128 --- Overview.html 8 Mar 2011 16:37:49 -0000 1.127 +++ Overview.html 8 Mar 2011 23:59:23 -0000 1.128 @@ -970,16 +970,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 @@ -992,7 +984,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:27 UTC