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

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 UTC