Start the tap highlight animation after a slight delay so that pan gestures do not result in flashing highlight rects which slow down flicking, especially for continuous pan gestures.
Created attachment 138987 [details] proposed patch
Created attachment 138990 [details] proposed patch
Comment on attachment 138990 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=138990&action=review > Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.cpp:102 > +void QtTapGestureRecognizer::tapHighlightTimeout() We are in the TAP gesture recognizer,,,.. maybe highlightTimeout is sufficient > Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.h:39 > +const int tapHighlightThreshold = 80; highlightPostponeTime would make more sense > Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp:499 > + // Early return since this was a touch end event. touch-end event
Landed in http://trac.webkit.org/changeset/115311.
Comment on attachment 138990 [details] proposed patch Clearing flags.