Summary: Currently, Gecko may retarget each touch to an element which is near the touch point and has some touch event listeners. However, once we conform to new spec for considering `click` event target <https://bugzilla.mozilla.org/show_bug.cgi?id=1885232>, Android users may hard to tap clickable element if surrounding element has touch listeners. Therefore, when the touch is first touch, Gecko starts to retarget the `pointerdown` and `touchstart` event target to clickable element too.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1957321

Specification: N/A

Platform coverage: Android (desktop users can enable the feature with `|ui.touch.radius.enabled|` pref)

Preference: |ui.touch.radius.single_touch.treat_clickable_as_touchable|

DevTools bug: N/A

Other browsers: Blink has similar heuristic feature, but I don't know the details. I don't know about WebKit.

web-platform-tests: N/A (but we have a mochitest <https://searchfox.org/mozilla-central/source/layout/base/tests/test_event_target_radius.html>)

--
Masayuki Nakano<masay...@d-toybox.com>
Working on DOM, Events, editor and IME handling for Gecko

--
You received this message because you are subscribed to the Google Groups 
"dev-platform@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-platform+unsubscr...@mozilla.org.
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/9ef92a2d-a67f-4cac-b58c-d5d0e947660d%40d-toybox.com.

Reply via email to