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

Issue 673554 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Compat



Sign in to add a comment

Elements with "overflow: hidden" sometimes skip an initial floating element and get pushed down, leaving whitespace

Reported by paul.d.g...@gmail.com, Dec 13 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
1. Insert a floating div.
2. Insert a second, wider, floating div.
3. Insert an "overflow: hidden" paragraph.

(This only fails for certain combinations of widths.)

What is the expected behavior?
The paragraph should be aligned vertically with the initial floating div, with width restricted to avoid overlap with the second floating div. This is how it works on Firefox and Explorer.

What went wrong?
The entire paragraph is pushed down and positioned after the first float, resulting in a large chunk of whitespace.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 54.0.2840.99  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

Fails on updated versions of both Chrome and Chromium. See demo on https://jsfiddle.net/pdg137/obt5xrbw/1/
See also http://stackoverflow.com/questions/710158/why-do-my-list-item-bullets-overlap-floating-elements for why we might want "overflow: hidden" next to floats.
 
chrome-bug.html
442 bytes View Download
Labels: Needs-Milestone

Comment 2 by e...@chromium.org, Dec 13 2016

Cc: robho...@gmail.com szager@chromium.org
Labels: -Type-Bug Type-Compat
Status: Available (was: Unconfirmed)

Comment 3 by phistuck@gmail.com, Dec 13 2016

#2 - why is it Type-Compat?
Status: WontFix (was: Available)
Your test case 'chrome-bug.html' works fine on :

Google Chrome	57.0.2946.0 (Official Build) dev (64-bit)
Revision	38c3eb61c737a8d3313ca8cd31b0c514c9d35b05-refs/heads/master@{#437422}
OS	Linux 
JavaScript	V8 5.7.186
Flash	24.0.0.178

and also in:

Google Chrome	55.0.2883.87 (Official Build) (64-bit)
Revision	ad0be09aa3ca814168d079b52825f6f80e22f0e8-refs/branch-heads/2883@{#723}
OS	Linux 
JavaScript	V8 5.5.372.32

Ah, looks like the problem was fixed between 54.0.2840.99 and 55.0.2883.87. Thanks and sorry for the trouble!

Sign in to add a comment