Bug 150382

Summary: Single tapping clickable elements in unscalable pages should show a tap highlight
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebKit Misc.Assignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   
Bug Depends on: 149968    
Bug Blocks:    
Attachments:
Description Flags
Patch simon.fraser: review+

Wenson Hsieh
Reported 2015-10-20 18:48:07 PDT
Single tapping clickable elements in unscalable pages should show a tap highlight. Currently, tap highlights are broken for fast clicking in pages that are unscalable because WKContentView assumes that the tap highlight geometry will arrive from the web process before the single tap is committed by the gesture recognizer. However, when the double tap gesture recognizer is disabled ahead of time (as in the case of unscalable pages) the tap is committed before the geometries come in.
Attachments
Patch (4.11 KB, patch)
2015-10-21 14:14 PDT, Wenson Hsieh
simon.fraser: review+
Wenson Hsieh
Comment 1 2015-10-20 18:50:02 PDT
Wenson Hsieh
Comment 2 2015-10-21 14:14:32 PDT
Simon Fraser (smfr)
Comment 3 2015-10-21 14:58:12 PDT
Comment on attachment 263733 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=263733&action=review > Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:1254 > + _isExpectingFastSingleTapCommit = ![_doubleTapGestureRecognizer isEnabled]; dot syntax?
Wenson Hsieh
Comment 4 2015-10-21 15:29:19 PDT
Comment on attachment 263733 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=263733&action=review >> Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:1254 >> + _isExpectingFastSingleTapCommit = ![_doubleTapGestureRecognizer isEnabled]; > > dot syntax? Fixed!
Wenson Hsieh
Comment 5 2015-10-21 15:31:39 PDT
Note You need to log in before you can comment on or make changes to this bug.