column-count value of parent element is not honoured if child elements has more number of column breaks in Chrome browser
Reported by
tusharbe...@gmail.com,
May 2 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Steps to reproduce the problem: Reproduction steps: Open following js fiddle link, http://jsfiddle.net/fmroxyLy/154/ What is the expected behavior? What went wrong? we can see that even though the column-count value for the div element is 2, after rendering it consist of 3 columns. Looks like this is because of TWO column breaks in it's children paragraphs. Is this an expected behaviour or the content of div should have been divided in 2 columns. Did this work before? N/A Chrome version: 57.0.2987.133 Channel: n/a OS Version: Flash Version: Shockwave Flash 25.0 r0
,
May 5 2017
,
May 8 2017
This is correct behavior. Creating more columns than specified is okay. In the test there are two forced breaks, and there's content before the first break and after the second forced break. There's no way this is going to fit in two columns, unless we want to ignore one of the forced breaks. |
|||
►
Sign in to add a comment |
|||
Comment 1 by tkent@chromium.org
, May 5 2017