DescriptionSkip updating nodeUnderMouse to clickTarget.
After a drag (mousedown-mousemove-mouseup) across an element border,
chromium sends "click" event to the common ancestor of of mousedown &
mouseup nodes. At that time, EventHandler::m_nodeUnderMouse was
mistakenly updated to the common ancestor, resulting in redundant
mouse node-transition events (mouseout/over/enter/leave) during & after
the click. This CL skips updating nodeUnderMouse to fix the bug.
BUG=356090
Committed: https://crrev.com/b729757fd10f845697c3028d5e41dbe4ce1295a0
Cr-Commit-Position: refs/heads/master@{#354519}
Patch Set 1 #Patch Set 2 : Added a test. #
Messages
Total messages: 11 (4 generated)
|