From cb79050579c1ca535a509aff3d780f0f58883ba3 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 29 Apr 2020 13:44:11 +0000 Subject: [PATCH] Bug 1633451 - Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato Differential Revision: https://phabricator.services.mozilla.com/D72691 --- modules/libpref/init/StaticPrefList.yaml | 5 ++++- ...intercapture_for_disconnected_node_in_shadow_dom.html.ini | 2 ++ ..._lostpointercapture_for_disconnected_shadow_host.html.ini | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html.ini create mode 100644 testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_shadow_host.html.ini diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index 5735df3cd84d..d5b69acffd99 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -6018,9 +6018,12 @@ value: true mirror: once +# On Android, don't synth mouse move events after scrolling, as they cause +# unexpected user-visible behaviour. Can remove this after bug 1633450 is +# satisfactorily resolved. - name: layout.reflow.synthMouseMove type: bool - value: true + value: @IS_NOT_ANDROID@ mirror: always # This pref is to be set by test code only. diff --git a/testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html.ini b/testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html.ini new file mode 100644 index 000000000000..2ba7f6c0c9a4 --- /dev/null +++ b/testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html.ini @@ -0,0 +1,2 @@ +[pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html] + prefs: [layout.reflow.synthMouseMove:true] diff --git a/testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_shadow_host.html.ini b/testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_shadow_host.html.ini new file mode 100644 index 000000000000..1c4e3e757527 --- /dev/null +++ b/testing/web-platform/meta/pointerevents/pointerevent_lostpointercapture_for_disconnected_shadow_host.html.ini @@ -0,0 +1,2 @@ +[pointerevent_lostpointercapture_for_disconnected_shadow_host.html] + prefs: [layout.reflow.synthMouseMove:true]