iOS: Autoscrolling is too fast and way too aggressive
Created attachment 390682 [details] Patch
<rdar://problem/59208122>
Comment on attachment 390682 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390682&action=review I am saddened by the lack of tests. > Source/WebCore/page/EventHandler.h:631 > bool m_isAutoscrolling { false }; Please move this bool up. > Source/WebCore/page/ios/EventHandlerIOS.mm:627 > + if (autoscrollDelta.height() < insetDistanceThreshold) Blank line above please. > Source/WebCore/page/ios/EventHandlerIOS.mm:637 > + float distanceFromEdge = autoscrollPoint.x() - insetUnobscuredRootViewRect.x(); Do you want negative distanceFromEdge here? > Source/WebCore/page/ios/EventHandlerIOS.mm:646 > + float distanceFromEdge = autoscrollPoint.y() - insetUnobscuredRootViewRect.y(); Ditto.
Created attachment 390694 [details] Patch
https://trac.webkit.org/changeset/256564/webkit