New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 640221 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 638530
Owner:
NOT IN USE
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Columns (column-count) aren't filled up when laying out varying height inline-blocks

Reported by ro...@toastcommunication.ch, Aug 23 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Example URL:
https://jsfiddle.net/ry50ako1/

Steps to reproduce the problem:
Have many 

Put 10 inline-blocks (3 tall, 7 short) in a container with "column-count: 4".

What is the expected behavior?
4 columns should be used.

In this case, ideally, the first 3 with a single large block, the fourth column with the remaining 7 blocks. 

What went wrong?
The blocks are laid out only on the first 2 columns. Leaving columns 3 and 4 empty. 

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0

I have the impression that this did work better in chrome 51, though I'm not sure. 

I did search for this issue by searching for "column-count". Did not find it. Sorry if it's already somewhere.
 
chrome.png
9.0 KB View Download
firefox.png
6.4 KB View Download
experimenting I've seen that chrome always puts at least 2 inline-blocks on the first column, even when it would clearly be better to only have one. This is probably related.

https://jsfiddle.net/7xvndxyn/

Cc: nyerramilli@chromium.org wkorman@chromium.org
Components: Blink>Layout>MultiCol
Labels: -Type-Compat M-54 hasbisect OS-Linux OS-Windows Type-Bug-Regression
Owner: msten...@opera.com
Status: Assigned (was: Unconfirmed)
Thanks for the report & jsfiddle.

CL:
https://chromium.googlesource.com/chromium/src/+log/723a4b536fa9a2f0071c510d14c36918cfee83a9..a74b8ccb63e527837449638b13e2c1534c40bddf

suspecting https://chromium.googlesource.com/chromium/src/+/b25fd3116d7cb9366a24af711666fc63a27f91b4
mstensho@, Could you please take a look at the issue and assign it to concerned developer if your changes are not responsible?

Good Build: 52.0.2715.0
Bad Build: 52.0.2716.0

Able to reproduce the issue on Win7, Mac OS X 10.11.5, Ubuntu 14.04 using Chrome 52.0.2743.116, Beta 53.0.2785.70, Dev 54.0.2837.0 & Canary#54.0.2837.0

Comment 3 by msten...@opera.com, Aug 24 2016

Mergedinto: 638530
Status: Duplicate (was: Assigned)

Sign in to add a comment