From 76dc9ae62d3a3e3f985d79da10c17a68fa41a35b Mon Sep 17 00:00:00 2001 From: Timothy Nikkel Date: Fri, 9 Jul 2021 10:06:01 +0000 Subject: [PATCH] Bug 1681692. Add test. r=hiro Differential Revision: https://phabricator.services.mozilla.com/D119480 --- layout/base/tests/file_synthmousemove.html | 49 ++++++++++++++++++++ layout/base/tests/helper_synthmousemove.html | 3 ++ layout/base/tests/mochitest.ini | 4 ++ layout/base/tests/test_synthmousemove.html | 31 +++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 layout/base/tests/file_synthmousemove.html create mode 100644 layout/base/tests/helper_synthmousemove.html create mode 100644 layout/base/tests/test_synthmousemove.html diff --git a/layout/base/tests/file_synthmousemove.html b/layout/base/tests/file_synthmousemove.html new file mode 100644 index 000000000000..74d327dbe98a --- /dev/null +++ b/layout/base/tests/file_synthmousemove.html @@ -0,0 +1,49 @@ + + + +
+
+
+ + +
+
+ diff --git a/layout/base/tests/helper_synthmousemove.html b/layout/base/tests/helper_synthmousemove.html new file mode 100644 index 000000000000..41d8c6525a00 --- /dev/null +++ b/layout/base/tests/helper_synthmousemove.html @@ -0,0 +1,3 @@ + +helper_synthmousemove.html +
diff --git a/layout/base/tests/mochitest.ini b/layout/base/tests/mochitest.ini index 8fe29c11f483..363276b02821 100644 --- a/layout/base/tests/mochitest.ini +++ b/layout/base/tests/mochitest.ini @@ -441,6 +441,10 @@ skip-if = toolkit == 'android' # Bug 1355844 support-files = scroll_selection_into_view_window.html scroll_selection_into_view_window_frame.html +[test_synthmousemove.html] +support-files = + helper_synthmousemove.html + file_synthmousemove.html [test_transformed_scrolling_repaints.html] [test_transformed_scrolling_repaints_2.html] skip-if = (headless && os == 'mac') # Headless Bug 1414103 diff --git a/layout/base/tests/test_synthmousemove.html b/layout/base/tests/test_synthmousemove.html new file mode 100644 index 000000000000..fda86c341e41 --- /dev/null +++ b/layout/base/tests/test_synthmousemove.html @@ -0,0 +1,31 @@ + +test synth mouse moves go to the right place with fission + + + +