New issue
Advanced search Search tips

Issue 633573 link

Starred by 8 users

Issue metadata

Status: Duplicate
Merged: issue 157855
Owner: ----
Closed: Jun 2017
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Sign in to add a comment

scrollTop of BODY always 0 when HTML element has overflow: hidden

Reported by, Aug 2 2016

Issue description

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

Example URL:

Steps to reproduce the problem:
1. Open
2. Scroll the result panel down
3. Notice the scrollTop property of the BODY element remains 0

What is the expected behavior?
The scrollTop property should indicate the current scroll position. It works like this in for instance Firefox

What went wrong?
The problem seems to be related to the overflow: hidden CSS in the HTML element in combination with the 100% height on both HTML and BODY.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? N/A 

Did this work before? No 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.106  Channel: stable
OS Version: Ubuntu 15.10
Flash Version: Shockwave Flash 22.0 r0

I tried this in various older versions and it seems this never worked. The problem occurs on as well.

Comment 1 by, Aug 3 2016

Components: -Blink Blink>DOM Blink>Layout
Labels: -OS-Linux OS-All
Status: Available (was: Unconfirmed)
Problem confirmed.

Comment 2 by, Jun 21 2017


Comment 3 by, Jun 22 2017

Mergedinto: 157855
Status: Duplicate (was: Available)
Fixed by ScrollTopLeftInterop.

Sign in to add a comment