Files
tubestation/dom
Masayuki Nakano 8ac005d79b Bug 1957321 - Make FindFrameTargetedByInputEvent() refer clickable ancestors too for single touch start r=smaug
Pointer Events now defines that click event target should be the captured target
which is the target of the source event [1] and `pointerdown` will start
implicit pointer capture with its target when nobody explicitly sets pointer
capture [2].

Once we will use the standardized behavior in bug 1885232, touch input device
users will become harder to click an element which does not have touch event
listeners because `touchstart` event target which is same as the `pointerdown`
event target is not retargeted and it becomes the following `click` event
target.

Therefore, single touch start around clickable element should be retargeted to
the element if there is no touchable element.

Differential Revision: https://phabricator.services.mozilla.com/D245686
2025-04-17 04:05:15 +00:00
..