Programmatic scrolling on a scrollable body can leave parts of the page unviewable
https://bugs.webkit.org/show_bug.cgi?id=161612
Summary Programmatic scrolling on a scrollable body can leave parts of the page unvie...
Simon Fraser (smfr)
Reported 2016-09-05 13:37:28 PDT
Created attachment 287981 [details] Testcase We're confused about programmatic scrolling on the body, when the body is independently scrollable (i.e. has overflow:scroll when the <html> has overflow:hidden). In this case programmatic scrolling on the body can scroll the document, but the user can't scroll it back.
Attachments
Testcase (2.26 KB, text/html)
2016-09-05 13:37 PDT, Simon Fraser (smfr)
no flags
Testcase (770 bytes, text/html)
2018-09-05 06:55 PDT, Frédéric Wang (:fredw)
no flags
Frédéric Wang (:fredw)
Comment 1 2018-01-30 05:56:17 PST
(In reply to Simon Fraser (smfr) from comment #0) > Created attachment 287981 [details] > Testcase > > We're confused about programmatic scrolling on the body, when the body is > independently scrollable (i.e. has overflow:scroll when the <html> has > overflow:hidden). > > In this case programmatic scrolling on the body can scroll the document, but > the user can't scroll it back. The testcase does not work because the call to description() is not commented out. It will be worth going back to this when bug 182230 is fixed, as the current patch seems to give better result.
Frédéric Wang (:fredw)
Comment 2 2018-09-05 06:55:04 PDT
Created attachment 348909 [details] Testcase Reduced version of the previous testcase.
Radar WebKit Bug Importer
Comment 3 2018-09-05 11:09:42 PDT
Note You need to log in before you can comment on or make changes to this bug.