Re: [css3-sizing] Intrinsic Sizes in Multi-column Layout

On Thu, May 23, 2013 at 2:53 AM, Morten Stenshorne <mstensho@opera.com> wrote:
> http://dev.w3.org/csswg/css-sizing/#multicol-intrinsic
>
> It says:
>
>    The min-content measure of a multi-column element with a computed
>    ‘column-width’ of ‘auto’ is the largest min-measure contribution of
>    its contents multiplied by its ‘column-count’ (treating ‘auto’ as
>    ‘1’).
>
> Aren't we forgetting the column gaps here?

Yes.

> Also, column-count cannot be
> auto, since column-width is auto too. I'd expect something like:
>
>    The min-content measure of a multi-column element with a computed
>    ‘column-width’ of ‘auto’ is the largest min-measure contribution of
>    its contents multiplied by its ‘column-count’, with the accumulated
>    width occupied by all the gaps between the columns added to that
>    number (('column-count' - 1) multiplied with used 'column-gap').
>
> Similar issue with the paragraph following it (calculating max-content
> measure when 'column-count' is non-auto).

Sound reasonable.  fantasai, any problems you can spot?  If not, I'll
edit it in.

~TJ

Received on Thursday, 23 May 2013 18:33:22 UTC