Changeset 245795 in webkit
- Timestamp:
- May 27, 2019, 9:19:06 AM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r245790 r245795 1 2019-05-27 Antoine Quint <graouts@apple.com> 2 3 [Pointer Events] Test at pointerevents/ios/touch-action-none-in-overflow-scrolling-touch.html times out 4 https://bugs.webkit.org/show_bug.cgi?id=198275 5 <rdar://problem/50618496> 6 7 Reviewed by Antti Koivisto. 8 9 Only WKCompositingView instances may have associated touch-action data, so we should filter out any hit-testing view 10 that isn't a WKCompositingView when finding the view that should hit-test when looking for touch-action information. 11 12 * UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.mm: 13 (WebKit::touchActionsForPoint): 14 1 15 2019-05-27 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.mm
r244955 r245795 99 99 return { WebCore::TouchAction::Auto }; 100 100 101 auto *hitView = viewsAtPoint.last(); 101 UIView *hitView; 102 for (auto *view : WTF::makeReversedRange(viewsAtPoint)) { 103 if ([view isKindOfClass:[WKCompositingView class]]) { 104 hitView = view; 105 break; 106 } 107 } 108 109 if (!hitView) 110 return { WebCore::TouchAction::Auto }; 102 111 103 112 CGPoint hitViewPoint = [hitView convertPoint:point fromView:rootView];
Note:
See TracChangeset
for help on using the changeset viewer.