diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/uievents/mouse | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/uievents/mouse')
7 files changed, 78 insertions, 0 deletions
diff --git a/testing/web-platform/meta/uievents/mouse/layout_change_should_fire_mouseover.html.ini b/testing/web-platform/meta/uievents/mouse/layout_change_should_fire_mouseover.html.ini new file mode 100644 index 0000000000..452cffe993 --- /dev/null +++ b/testing/web-platform/meta/uievents/mouse/layout_change_should_fire_mouseover.html.ini @@ -0,0 +1,7 @@ +[layout_change_should_fire_mouseover.html] + [Tests that the mouseover event is fired and the element has a hover effect when the element underneath the mouse cursor is changed.] + expected: + if (os == "linux") and debug: PASS + if os == "mac": PASS + if os == "android": FAIL + [PASS, FAIL] diff --git a/testing/web-platform/meta/uievents/mouse/mouse_boundary_events_after_removing_last_over_element.html.ini b/testing/web-platform/meta/uievents/mouse/mouse_boundary_events_after_removing_last_over_element.html.ini new file mode 100644 index 0000000000..ef1d0ef9cb --- /dev/null +++ b/testing/web-platform/meta/uievents/mouse/mouse_boundary_events_after_removing_last_over_element.html.ini @@ -0,0 +1,9 @@ +[mouse_boundary_events_after_removing_last_over_element.html] + prefs: [layout.reflow.synthMouseMove:true] + [After removing the last over element, redundant mouseenter events should not be fired on the ancestors] + expected: + if not early_beta_or_earlier: FAIL + + [After removing the root element in the shadow under the cursor, mouseleave events should be targeted outside the shadow, but redundant mouseenter events should not be fired] + expected: + if not early_beta_or_earlier: FAIL diff --git a/testing/web-platform/meta/uievents/mouse/mouse_buttons_back_forward.html.ini b/testing/web-platform/meta/uievents/mouse/mouse_buttons_back_forward.html.ini new file mode 100644 index 0000000000..854e262874 --- /dev/null +++ b/testing/web-platform/meta/uievents/mouse/mouse_buttons_back_forward.html.ini @@ -0,0 +1,4 @@ +[mouse_buttons_back_forward.html] + max-asserts: 2 + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/uievents/mouse/mouseenter-mouseleave-on-drag.html.ini b/testing/web-platform/meta/uievents/mouse/mouseenter-mouseleave-on-drag.html.ini new file mode 100644 index 0000000000..cb14b9f290 --- /dev/null +++ b/testing/web-platform/meta/uievents/mouse/mouseenter-mouseleave-on-drag.html.ini @@ -0,0 +1,12 @@ +[mouseenter-mouseleave-on-drag.html] + [Test dragging across inner div] + expected: + if (os == "linux") and not debug and fission: [PASS, FAIL] + + [Test dragging into inner div] + expected: + if (os == "linux") and not debug and fission: [PASS, FAIL] + + [Test dragging out of inner div] + expected: + if (os == "linux") and not debug and fission: [PASS, FAIL] diff --git a/testing/web-platform/meta/uievents/mouse/mousemove_prevent_default_action.tentative.html.ini b/testing/web-platform/meta/uievents/mouse/mousemove_prevent_default_action.tentative.html.ini new file mode 100644 index 0000000000..e5168c9f88 --- /dev/null +++ b/testing/web-platform/meta/uievents/mouse/mousemove_prevent_default_action.tentative.html.ini @@ -0,0 +1,6 @@ +[mousemove_prevent_default_action.tentative.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [dragstart event firing when mousemove event is prevented] + expected: + if os == "android": FAIL diff --git a/testing/web-platform/meta/uievents/mouse/mouseover-at-removing-mousedown-target.html.ini b/testing/web-platform/meta/uievents/mouse/mouseover-at-removing-mousedown-target.html.ini new file mode 100644 index 0000000000..19b6851963 --- /dev/null +++ b/testing/web-platform/meta/uievents/mouse/mouseover-at-removing-mousedown-target.html.ini @@ -0,0 +1,5 @@ +[mouseover-at-removing-mousedown-target.html?duration=16] + prefs: [layout.reflow.synthMouseMove:true] + +[mouseover-at-removing-mousedown-target.html?duration=42] + prefs: [layout.reflow.synthMouseMove:true] diff --git a/testing/web-platform/meta/uievents/mouse/synthetic-mouse-enter-leave-over-out-button-state-after-target-removed.tentative.html.ini b/testing/web-platform/meta/uievents/mouse/synthetic-mouse-enter-leave-over-out-button-state-after-target-removed.tentative.html.ini new file mode 100644 index 0000000000..01d514aaa8 --- /dev/null +++ b/testing/web-platform/meta/uievents/mouse/synthetic-mouse-enter-leave-over-out-button-state-after-target-removed.tentative.html.ini @@ -0,0 +1,35 @@ +[synthetic-mouse-enter-leave-over-out-button-state-after-target-removed.tentative.html?buttonType=MIDDLE&button=1&buttons=4] + expected: + if os == "android": [ERROR, OK] + [Removing an element at mousedown: mouseout and mouseleave should've been fired on the removed child] + expected: FAIL + + [Removing an element at mousedown: mouseenter should not have been fired on the parent] + expected: + if not early_beta_or_earlier: FAIL + + [Removing an element at mouseup: mouseout and mouseleave should've been fired on the removed child] + expected: FAIL + + [Removing an element at mouseup: mouseenter should not have been fired on the parent] + expected: + if not early_beta_or_earlier: FAIL + + +[synthetic-mouse-enter-leave-over-out-button-state-after-target-removed.tentative.html?buttonType=LEFT&button=0&buttons=1] + expected: + if (os == "linux") and swgl and fission: [OK, ERROR] + if os == "android": [ERROR, OK] + [Removing an element at mousedown: mouseout and mouseleave should've been fired on the removed child] + expected: FAIL + + [Removing an element at mousedown: mouseenter should not have been fired on the parent] + expected: + if not early_beta_or_earlier: FAIL + + [Removing an element at mouseup: mouseout and mouseleave should've been fired on the removed child] + expected: FAIL + + [Removing an element at mouseup: mouseenter should not have been fired on the parent] + expected: + if not early_beta_or_earlier: FAIL |