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

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

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 Aug 2016 23:15:36 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-172577027-1471907734-sysbot+gh@w3.org>
FremyCompany has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-multicol] the minimum and preferred width of a multicol is not
 defined anywhere ==
And, of course, that means it isn't interoperable ;-)
So even if it is defined somewhere implementers didn't find it...

> https://drafts.csswg.org/css-multicol-1/#pseudo-algorithm


### I think Firefox makes sense when you need fit-content:
> https://jsfiddle.net/L03rqecj/2/

- Edge allocates 10 columns, then fill only three of them
- Firefox allocates as many columns as the container width allows, 
then fill only three of them
- Chrome allocates as many columns as the container width allows, then
 fill only two of them by wrapping the first two lines on the same 
column, but not the third one (wait, what)?


### And it makes sense again when you need min-content:
> https://jsfiddle.net/L03rqecj/3/

- Edge does as it does in the previous case (whaaaat?)
- Firefox collapses the whole thing to one column (of about 10px size)
- Chrome does like it did for preferred width (whaaaat?)


### I have seen real interop issues due to this while digging some 
tables bugs. 

We should sort this out ;-)

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/420 using your GitHub 
account
Received on Monday, 22 August 2016 23:15:48 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC