DescriptionRemove mouse-related hit tests during a GestureTap
This further reduces the total number of hit tests in trivial tap scenarios
from 9 to 6. It looks like all the work we do with un-hit-tested mouse
events is really mouse specific and probably not something we want in the
tap case. So we can bump our emulation down to a lower level without
having to otherwise refactor the existing code.
This change is observable by web applications. For example, if a
mousedown event handler modifies the DOM, then previously the mouseup and
click events would be sent to the new element under the point. Now
all the events that happen as a result of a tap will be sent to the same
node. Since they all happen at the same conceptual moment, this change
is probably a net improvement. But we'll need to watch for any
scenarios that regress.
BUG=381728
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178098
Patch Set 1 #Patch Set 2 : Add deleted-during-dispatch test #
Total comments: 2
Patch Set 3 : Tweak test description #Patch Set 4 : Fix release build #Patch Set 5 : Merge with trunk #Patch Set 6 : Add UserGestureIndicator #Patch Set 7 : Fix text selection behavior #Patch Set 8 : Also test tap handled state in the test #Patch Set 9 : Improve focus test #
Total comments: 3
Messages
Total messages: 15 (0 generated)
|