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

Issue 664991 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 638530
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

CSS3 columns not working as expected

Reported by m5a7...@googlemail.com, Nov 14 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 OPR/40.0.2308.90

Example URL:
https://jsfiddle.net/s7cfbqzt/12/

Steps to reproduce the problem:
1. View https://jsfiddle.net/s7cfbqzt/12/ in Firefox (IE11, EDGE) and compare to Chrome.
2. See that the green DIVs are aligned differently in Chrome than all other browsers
3. Note that floating and flex-display is very similar across all browsers.

What is the expected behavior?
From my understanding, the other engines are doing it correctly, Chromium is at fault here.

Expected layout in ASCII-code (with 4 columns):
=======================
||                   ||
||  |1| |3| |4| |6|  ||
||  |2| | | |5| |7|  ||
||                   ||
||  |1| |2|          ||
||                   ||
=======================

What went wrong?
Actual layout in ASCII-code (with 4 columns):

=======================
||                   ||
||  |1| |3| |5| |7|  ||
||  |2| | | |6|      ||
||      |4|          ||
||                   ||
||  |1|              ||
||  |2|              ||
||                   ||
=======================

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: 53.0.2785.143  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 23.0 r0

The actual usage of this could result in more or less DIVs inside the container, the height of each DIV is dynamic.

The code in jsFiddle with float and flex is not really relevant to the issue but just to demonstrate the similarity in those areas.
 
Cc: rbasuvula@chromium.org
Components: Blink>CSS
Labels: M-56 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Tested the issue on chrome Stable #54.0.2840.100, Canary 56.0.2920.0 in Ubuntu 14.04 and was able to reproduce the issue.

This is a Non-Regression issue since seeing this from M35 #35.0.1898.0, Making the status to Untriaged so that the issue would get addressed.

Observations:
In M35 , M45 & M50 versions - above mentioned layout is displaying like below and please find the screen shot for reference.

Layout :
1
2
3
4
5
6
7
1
2

Note : Able to reproduce the issue in MAC 10.12 and Win 10.0.

Thank you.
664991.png
95.9 KB View Download

Comment 2 by r...@opera.com, Nov 15 2016

Cc: cbiesin...@chromium.org msten...@opera.com
Components: -Blink>CSS Blink>Layout
Contains multicol and flexbox.

Comment 3 by msten...@opera.com, Nov 15 2016

Mergedinto: 638530
Status: Duplicate (was: Untriaged)
Need to set orphans and widows to 1 if you want to allow single lines (consisting of 100% wide inline blocks in this case) in a column.
Widows and orphans seems to be the correct way to handle this - thank you. I think the issue can be closes as "invalid"?

Comment 5 by msten...@opera.com, Nov 15 2016

Yeah, I marked it as a duplicate of a  bug 638530 , which is "invalid" (or rather "WontFix", since this BTS doesn't support "invalid").

See https://bugs.chromium.org/p/chromium/issues/detail?id=638530#c9 and a couple of comments onwards for more details.

Sign in to add a comment