TouchEvent should not be fired at TextNode |
|||
Issue descriptionTouchEvent should not be fired at TextNode The context of the bug: See https://codereview.chromium.org/2807123002/ It looks that a kind of TouchEvent is fired at TextNode. See https://cs.chromium.org/chromium/src/third_party/WebKit/Source/web/tests/WebViewTest.cpp?q=ShowUnhandledTapUIIfNeeded+package:%5Echromium$&l=3647 However, Touch Events specification says: https://w3c.github.io/touch-events/#list-of-touchevent-types > Trusted proximal event target types: Document and Element; I am not 100% sure that what "Trusted proximal event target types" means, however, I believe that target types should not be a TextNode. That should be an Element in any case. That is consistent with other UI Events, such as Mouse Events.
,
Apr 19 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/14bcd90c3e83b60fb9ecce8504356b81af4c6209 commit 14bcd90c3e83b60fb9ecce8504356b81af4c6209 Author: hayato <hayato@chromium.org> Date: Wed Apr 19 08:54:54 2017 Remove the dup function The context: https://codereview.chromium.org/2807123002#msg83 Use HitTestResult::innerElement, instead of adding EventHandlerUtil::ParentElementIfNeeded(). BUG= 708394 ,710425 Review-Url: https://codereview.chromium.org/2829553002 Cr-Commit-Position: refs/heads/master@{#465536} [modify] https://crrev.com/14bcd90c3e83b60fb9ecce8504356b81af4c6209/third_party/WebKit/Source/core/input/EventHandler.cpp [modify] https://crrev.com/14bcd90c3e83b60fb9ecce8504356b81af4c6209/third_party/WebKit/Source/core/input/EventHandlingUtil.cpp [modify] https://crrev.com/14bcd90c3e83b60fb9ecce8504356b81af4c6209/third_party/WebKit/Source/core/input/EventHandlingUtil.h [modify] https://crrev.com/14bcd90c3e83b60fb9ecce8504356b81af4c6209/third_party/WebKit/Source/core/input/GestureManager.cpp [modify] https://crrev.com/14bcd90c3e83b60fb9ecce8504356b81af4c6209/third_party/WebKit/Source/core/layout/HitTestResult.cpp [modify] https://crrev.com/14bcd90c3e83b60fb9ecce8504356b81af4c6209/third_party/WebKit/Source/core/page/EventWithHitTestResults.h
,
Apr 19 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 20
*** UI Mass Triage*** |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Apr 13 2017