Pointer event shouldn't be subject to special touch event iframe hit-test rules |
||
Issue descriptionRight now pointer events that are generated by touch are following touch hit testing model and all the touches hit test in the capturing frame which is the frame that got the first touch. Although this is the model we would like to follow for touch events, pointer events should be separately hit-tested on their corresponding frame and they should be sent to that frame. So pointer events from multiple fingers on the screen may be sent to the nodes in the different frames.
,
May 19 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5ce73f6e13fdb838a6c92430ca39538ed7e8a452 commit 5ce73f6e13fdb838a6c92430ca39538ed7e8a452 Author: nzolghadr <nzolghadr@chromium.org> Date: Thu May 19 17:23:43 2016 Move touch hit testing to PointerEventManager Move touch hit testing to PointerEventManager class to separate pointer event hit testing from touch event hit testing. Now touch events use the pointer event hit testing result if they were in the touch capturing iframe otherwise they do another hit testing. BUG= 606822 Review-Url: https://codereview.chromium.org/1971473002 Cr-Commit-Position: refs/heads/master@{#394802} [add] https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe-expected.txt [add] https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/touch-capture-in-iframe.html [modify] https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452/third_party/WebKit/Source/core/input/EventHandler.h [modify] https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452/third_party/WebKit/Source/core/input/PointerEventManager.cpp [modify] https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452/third_party/WebKit/Source/core/input/TouchEventManager.cpp [modify] https://crrev.com/5ce73f6e13fdb838a6c92430ca39538ed7e8a452/third_party/WebKit/Source/core/input/TouchEventManager.h
,
May 19 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by rbyers@chromium.org
, May 17 2016