mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00

On environments where double-tap-to-zoom is allowed, we don't immediately send a single tap event when a touch-end happens, we later send a single tap event when we are sure that the touch-end is not followed by double-tapping. Thus when ActiveElementManager got the touch-end notification from an APZC, we need to differentiate the situation to activate an element when ActiveElementManager finally got a single tap event. This change introduces a tri-state to differentiate the situation. `helper_bug1806400-3.html` in this change is a subset of `helper_touch_synthesized_mouseevents.html?scrollable=true`. `helper_bug1806400-4.html` is anocher variant of `helper_bug1806400-2.html` Differential Revision: https://phabricator.services.mozilla.com/D202384