W3C home > Mailing lists > Public > www-style@w3.org > March 2011

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Tue, 8 Mar 2011 21:14:54 +0000
To: Håkon Wium Lie <howcome@opera.com>, fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E2AB8A4E5@TK5EX14MBXC113.redmond.corp.microsoft.com>

[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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT