We would like to use the capturing node of a pointer event instead of using the hit-tested node as the target. Particularly we already do this for touch pointer events. We need to extend this behavior to mouse pointer events.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/74eff8d7daba3c907a07f44c231a7d07d8866a18 commit 74eff8d7daba3c907a07f44c231a7d07d8866a18 Author: nzolghadr <nzolghadr@chromium.org> Date: Wed Aug 03 16:08:39 2016 Change mouse pointer event targets to the capturing node This is the first step to change to hit-test node of the mouse events to the captured node. Note that this change doesn't remove the hit-testing itself. So it doesn't improve the performance while a pointer is captured. To be able to do that we need some refactoring to be done first. See crbug.com/625843 . BUG= 629921 Review-Url: https://codereview.chromium.org/2174863002 Cr-Commit-Position: refs/heads/master@{#409521} [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/LayoutTests/TestExpectations [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-transition-events-expected.txt [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-capture-expected.txt [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/Source/core/events/PointerEventFactory.h [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/Source/core/input/EventHandler.cpp [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/Source/core/input/PointerEventManager.cpp [modify] https://crrev.com/74eff8d7daba3c907a07f44c231a7d07d8866a18/third_party/WebKit/Source/core/input/PointerEventManager.h
Comment 1 by nzolghadr@chromium.org
, Jul 22 2016