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

Re: [css3-multicol] Intrinsic Widths of Multi-column elements (Take I)

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 19 May 2011 11:01:11 +1200
Message-ID: <BANLkTikURPvjpyyh0DneLuppTeizVYwWbw@mail.gmail.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: W3C style mailing list <www-style@w3.org>, Peter Salas <psalas@microsoft.com>, Veljko Miljanic <veljkom@microsoft.com>
On Thu, May 19, 2011 at 10:04 AM, Alex Mogilevsky <alexmog@microsoft.com>wrote:

> On the topic of today's discussion, here is how it is currently handled in
> IE10:
>
> -----Original Message-----
> From: Peter Salas
> Sent: Wednesday, May 18, 2011 10:36 AM
>
> What we do is pretty simple, and empirically seems to be very close to what
> Firefox does.
>
> Column-count: auto, column-width:specified: produce a single column with
> the specified column width.
>
> Column-count: specified, column-width:auto: min-content and max-content are
> computed by setting the used column width to the min-content and max-content
> widths of the content, respectively.
>

Our code:
http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsColumnSetFrame.cpp#456

I believe that matches what you described.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Wednesday, 18 May 2011 23:01:39 GMT

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