RESOLVED FIXED Bug 198244
iOS: Main frame should be scrollable when pinch zoomed or software keyboard is up
https://bugs.webkit.org/show_bug.cgi?id=198244
Summary iOS: Main frame should be scrollable when pinch zoomed or software keyboard i...
Ryosuke Niwa
Reported 2019-05-24 23:44:48 PDT
Even when overflow: hidden is specified on the frame view, we still need to make the main frame scrollable when the software keyboard is up or the user had pinch zoomed the page.
Attachments
WIP (1.53 KB, patch)
2019-05-24 23:45 PDT, Ryosuke Niwa
no flags
WIP (1.53 KB, patch)
2019-05-24 23:50 PDT, Ryosuke Niwa
ews-watchlist: commit-queue-
Archive of layout-test-results from ews107 for mac-highsierra-wk2 (1019.07 KB, application/zip)
2019-05-25 00:46 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews103 for mac-highsierra (3.24 MB, application/zip)
2019-05-25 00:54 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews214 for win-future (10.66 MB, application/zip)
2019-05-25 01:30 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews117 for mac-highsierra (3.09 MB, application/zip)
2019-05-25 01:37 PDT, EWS Watchlist
no flags
WIP3 (3.33 KB, patch)
2019-05-28 19:57 PDT, Ryosuke Niwa
no flags
WIP4 (1.26 KB, patch)
2019-05-28 20:14 PDT, Ryosuke Niwa
no flags
Fixes the bug (12.86 KB, patch)
2019-05-30 17:22 PDT, Ryosuke Niwa
no flags
Fixed a bug (12.77 KB, patch)
2019-05-30 20:03 PDT, Ryosuke Niwa
no flags
Patch for landing (12.26 KB, patch)
2019-05-30 21:31 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2019-05-24 23:45:59 PDT
Ryosuke Niwa
Comment 2 2019-05-24 23:50:37 PDT
EWS Watchlist
Comment 3 2019-05-25 00:46:28 PDT
Comment on attachment 370625 [details] WIP Attachment 370625 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/12286121 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 4 2019-05-25 00:46:29 PDT
Created attachment 370628 [details] Archive of layout-test-results from ews107 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 5 2019-05-25 00:54:39 PDT
Comment on attachment 370625 [details] WIP Attachment 370625 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/12286136 New failing tests: compositing/backgrounds/fixed-background-on-descendant.html imported/blink/svg/as-image/overflow-auto.html imported/blink/svg/as-background-image/overflow-auto.html fast/scrolling/rtl-initial-scroll-position.html fast/block/positioning/vertical-rl/fixed-positioning.html imported/blink/fast/overflow/hidden-viewport-y.html svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg fast/block/positioning/rtl-fixed-positioning.html
EWS Watchlist
Comment 6 2019-05-25 00:54:41 PDT
Created attachment 370629 [details] Archive of layout-test-results from ews103 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-highsierra Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 7 2019-05-25 01:30:30 PDT
Comment on attachment 370625 [details] WIP Attachment 370625 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/12286216 Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 8 2019-05-25 01:30:32 PDT
Created attachment 370631 [details] Archive of layout-test-results from ews214 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews214 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
EWS Watchlist
Comment 9 2019-05-25 01:37:12 PDT
Comment on attachment 370625 [details] WIP Attachment 370625 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/12286180 New failing tests: compositing/backgrounds/fixed-background-on-descendant.html imported/blink/svg/as-image/overflow-auto.html imported/blink/svg/as-background-image/overflow-auto.html fast/scrolling/rtl-initial-scroll-position.html fast/block/positioning/vertical-rl/fixed-positioning.html imported/blink/fast/overflow/hidden-viewport-y.html svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg fast/block/positioning/rtl-fixed-positioning.html
EWS Watchlist
Comment 10 2019-05-25 01:37:14 PDT
Created attachment 370632 [details] Archive of layout-test-results from ews117 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-highsierra Platform: Mac OS X 10.13.6
Ryosuke Niwa
Comment 11 2019-05-28 19:57:25 PDT
Ryosuke Niwa
Comment 12 2019-05-28 20:14:04 PDT
Ryosuke Niwa
Comment 13 2019-05-30 17:22:32 PDT
Created attachment 371000 [details] Fixes the bug
Ryosuke Niwa
Comment 14 2019-05-30 17:26:15 PDT
Ryosuke Niwa
Comment 15 2019-05-30 20:03:59 PDT
Created attachment 371024 [details] Fixed a bug
Simon Fraser (smfr)
Comment 16 2019-05-30 20:51:15 PDT
Comment on attachment 371024 [details] Fixed a bug View in context: https://bugs.webkit.org/attachment.cgi?id=371024&action=review > LayoutTests/fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard.html:24 > + // FIXME: Work around the bug that scrolling down after the software keyborad is brought up for the very first time does not work. keyborad You should file a bug and reference it here. > LayoutTests/fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard.html:36 > + await new Promise((resolve) => setTimeout(resolve, 100)); UIHelper.delayFor() > LayoutTests/fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-1.html:31 > + await new Promise((resolve) => setTimeout(resolve, 200)); UIHelper.delayFor() > LayoutTests/fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-2.html:35 > + await new Promise((resolve) => setTimeout(resolve, 200)); UIHelper.delayFor
Ryosuke Niwa
Comment 17 2019-05-30 21:10:07 PDT
Thanks for the review! (In reply to Simon Fraser (smfr) from comment #16) > Comment on attachment 371024 [details] > Fixed a bug > > View in context: > https://bugs.webkit.org/attachment.cgi?id=371024&action=review > > > LayoutTests/fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard.html:24 > > + // FIXME: Work around the bug that scrolling down after the software keyborad is brought up for the very first time does not work. > > keyborad > > You should file a bug and reference it here. Will do. > > LayoutTests/fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard.html:36 > > + await new Promise((resolve) => setTimeout(resolve, 100)); > > UIHelper.delayFor() Oh, that's a neat function! Will fix this and the rest.
Ryosuke Niwa
Comment 18 2019-05-30 21:31:53 PDT
Created attachment 371032 [details] Patch for landing
Ryosuke Niwa
Comment 19 2019-05-30 21:32:56 PDT
Comment on attachment 371032 [details] Patch for landing Wait for iOS EWS bot.
Ryosuke Niwa
Comment 20 2019-05-31 00:25:45 PDT
WebKit Commit Bot
Comment 21 2019-05-31 14:09:21 PDT
Re-opened since this is blocked by bug 198436
Ryosuke Niwa
Comment 22 2019-05-31 15:12:21 PDT
Note You need to log in before you can comment on or make changes to this bug.