WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
66262
JavaScript scrolling can break completely in specific circumstances
https://bugs.webkit.org/show_bug.cgi?id=66262
Summary
JavaScript scrolling can break completely in specific circumstances
Saul Rennison
Reported
2011-08-15 16:29:01 PDT
Created
attachment 103975
[details]
Test page window.pageYOffset, document.documentElement.scrollTop, window.scrollTo, and probably any other JavaScript scroll offset functions, do not work whatsoever when using the following CSS properties on a maximized window: html { overflow-y: auto; } body { position: absolute; top: 0; left: 0; bottom: 0; right: 0; overflow-y: scroll; } In addition, the window.onscroll event does not seem to be triggered. A situation in which these CSS properties would have valid use is available in the attached test page. As stated above, this problem does not occur when the window is not maximized.
Attachments
Test page
(21.54 KB, text/html)
2011-08-15 16:29 PDT
,
Saul Rennison
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-08-16 16:45:53 PDT
is this bug report about Safari, or some other browser using WebKit? I tried in Safari on Mac, and could't reproduce, but there isn't really a concept of "maximized window" on Mac anyway.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug