RE: [css3-multicol] was: [CSSWG] Minutes and Resolutions 2011-02-17


[Håkon Wium Lie:]

<snip>
 
> Also from the minutes:
> 
>  >    fantasai: column-count sets a maximum number of columns when used
> with
>  >              column-width
> 
> This is correct as per the prose in the description of 'column-count':
> 
>   If both ‘column-width’ and ‘column-count’ have non-auto values, the
>   integer value describes the maximum number of columns.
> 
>   http://dev.w3.org/csswg/css3-multicol/#cc

> 
> However, it is not correct as per the pseudo-algorithm which specifies, in
> line 39 that the number of columns is only a function of available-width,
> column-gap and column-width:
> 
>   N := floor((available-width + column-gap) / (column-width + column-
> gap));
> 
>   http://dev.w3.org/csswg/css3-multicol/#pseudo-algorithm

> 
> I.e., the value of 'column-count' is not taken into account.
> 
> This is an inconsistency in the spec, it seems.
> 
> We can resolve it by:
> 
>   (a) removing the prose in the description of 'column-count'
> 
> or
> 
>   (b) changing line 39 in the pseudo-algorithm to:
> 
>   N := max(column-count, floor((available-width + column-gap) / (column-
> width + column-gap)))
> 

(b) makes more sense to me if you aim to align the pseudo-code with the prose.
Removing the prose creates an ambiguity imo.

Received on Tuesday, 8 March 2011 21:15:29 UTC