W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

Re: [csswg-drafts] [css-multicol] the minimum and preferred width of a multicol is not defined anywhere

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Oct 2016 16:34:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-253266222-1476290077-sysbot+gh@w3.org>
Yup, looks like this is well-defined now (and results in Firefox's 
behavior).  

* min-content size is the larger of its column-width and the largest 
width of its inline content; in this case, that is `100px`.
* fit-content is just the normal algorithm: max-content size (here `10
 * 100px`) clamped by min-content size (`100px`) and available space.
  The multicol filling algorithm then decides how many columns to put 
into that area (here `floor(screen-width / 100px, 100px)`, probably 4 
or 5)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/420#issuecomment-253266222 
using your GitHub account
Received on Wednesday, 12 October 2016 16:34:52 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC