New issue
Advanced search Search tips

Issue 639468 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 637493
Owner: ----
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Cannot use the scroll bar when an overflow: auto element has negative margins and content below it

Project Member Reported by phistuck@gmail.com, Aug 19 2016

Issue description

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

Example URL:
data:text/html,<!doctype html><style>div{margin-bottom: -20px; overflow: auto; white-space: pre; width: 100px; }</style><body>body<div>overflowed element</div><br/>New line</body>

Steps to reproduce the problem:
1. Go to the URL.
2. Try to scroll through the overflowed element.

What is the expected behavior?
The element scrolls.

What went wrong?
I cannot interact with the scroll bar at all, even though nothing (text, elements) seemingly blocks the interaction.

Does it occur on multiple sites: Yes

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, 54.0.2832.2  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Internet Explorer 11 lets me interact with the scroll bar.
I have not tried Firefox, but I guess it also lets you interact with the scroll bar, because its Bugzilla uses an overflow: auto element with a negative margin-bottom for its quoted text.
Example -
https://bugzilla.mozilla.org/show_bug.cgi?id=1287706#c61
 
Components: -Blink Blink>Layout>Scrollbars

Comment 2 by e...@chromium.org, Aug 22 2016

Mergedinto: 637493
Status: Duplicate (was: Unconfirmed)

Comment 3 by phistuck@gmail.com, Aug 22 2016

Are you sure this is the same issue? It is not about how much you can scroll, it is about the scroll bar itself that is (transparently) obscured by the content of the parent element and so it is not reachable to the user.
Status: Untriaged (was: Duplicate)
Labels: OS-Linux

Comment 6 by e...@chromium.org, Aug 23 2016

Labels: -OS-Linux -OS-Windows -Pri-2 OS-All Pri-3
Status: Available (was: Untriaged)
Yeah, I'm pretty sure that's the same issue. I'll leave it as a separate issue for now though.
Project Member

Comment 7 by sheriffbot@chromium.org, Aug 24 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 by e...@chromium.org, Aug 29 2017

Status: Duplicate (was: Untriaged)

Sign in to add a comment