Skip to content

Commit 1ab5aec

Browse files
committed
slight revision to pseudo-algorithm
1 parent b56d362 commit 1ab5aec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css3-multicol/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,12 +830,12 @@ <h3>Pseudo-algorithm</h3>
830830
(19) W := max(0, (available-width - ((N - 1) * column-gap))/N);
831831
exit;
832832

833-
(27) if (column-count = auto) and (column-width != auto) then
833+
(27) if (column-width != auto) and (column-count = auto) then
834834
(32) N := min(1, floor((available-width + column-gap) / (column-width + column-gap)));
835835
(33) W := ((available-width + column-gap) / N) - column-gap;
836836
exit;
837837

838-
if (column-count != auto) and (column-width != auto) then
838+
if (column-width != auto) and (column-count != auto) then
839839
(39) N := min(column-count, floor((available-width + column-gap) / (column-width + column-gap)))
840840
(40) W := ((available-width + column-gap) / N) - column-gap;
841841
exit

0 commit comments

Comments
 (0)