<body> with overflow:hidden shouldn't be keyboard scrollable on iOS
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 May 2019 17:37:16 +0000 (17:37 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 May 2019 17:37:16 +0000 (17:37 +0000)
commit783cc074a0086868217ca95cea504bdc76214cfa
tree155782340931091ffdd23fcff3eb3b1854780799
parent0b6e00a2ded9926f1014941e8e035cb94e48cbc0
<body> with overflow:hidden shouldn't be keyboard scrollable on iOS
https://bugs.webkit.org/show_bug.cgi?id=197659
Source/WebKit:

<rdar://problem/50541453>

Reviewed by Antoine Quint.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView isScrollableForKeyboardScrollViewAnimator:]):

Disable also keyboard scrolling when touch scrolling is disabled.

LayoutTests:

Reviewed by Antoine Quint.

* fast/scrolling/ios/body-overflow-hidden-keyboard-expected.html: Added.
* fast/scrolling/ios/body-overflow-hidden-keyboard.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/scrolling/ios/body-overflow-hidden-keyboard-expected.html [new file with mode: 0644]
LayoutTests/fast/scrolling/ios/body-overflow-hidden-keyboard.html [new file with mode: 0644]
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm