From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../tests/uievents/click/auxclick_event.html | 81 ++++++++++++++++ .../click/click_event_target_child_parent.html | 85 +++++++++++++++++ .../click/click_event_target_siblings.html | 102 +++++++++++++++++++++ .../uievents/click/click_events_on_input.html | 62 +++++++++++++ .../tests/uievents/click/contextmenu_event.html | 51 +++++++++++ .../tests/uievents/click/dblclick_event_mouse.html | 44 +++++++++ 6 files changed, 425 insertions(+) create mode 100644 testing/web-platform/tests/uievents/click/auxclick_event.html create mode 100644 testing/web-platform/tests/uievents/click/click_event_target_child_parent.html create mode 100644 testing/web-platform/tests/uievents/click/click_event_target_siblings.html create mode 100644 testing/web-platform/tests/uievents/click/click_events_on_input.html create mode 100644 testing/web-platform/tests/uievents/click/contextmenu_event.html create mode 100644 testing/web-platform/tests/uievents/click/dblclick_event_mouse.html (limited to 'testing/web-platform/tests/uievents/click') diff --git a/testing/web-platform/tests/uievents/click/auxclick_event.html b/testing/web-platform/tests/uievents/click/auxclick_event.html new file mode 100644 index 0000000000..8bb2e137f5 --- /dev/null +++ b/testing/web-platform/tests/uievents/click/auxclick_event.html @@ -0,0 +1,81 @@ + + + + + Clicking with primary vs non-primary buttons + + + + + + + + + +

Clicking with primary vs non-primary buttons

+

Double-click on the green box with a non-primary button. When using mouse any button other than the left button is non-primary. If a "PASS" result appears, the test passes; otherwise, it fails.

+
+ + + diff --git a/testing/web-platform/tests/uievents/click/click_event_target_child_parent.html b/testing/web-platform/tests/uievents/click/click_event_target_child_parent.html new file mode 100644 index 0000000000..a09e5532af --- /dev/null +++ b/testing/web-platform/tests/uievents/click/click_event_target_child_parent.html @@ -0,0 +1,85 @@ + + + + + Click targets the nearest common ancestor + + + + + + + + +

Click targeting when targets of down and up are child and parents

+ This test verifies that click event always goes to the first common ancestor of down and up event targets. + + + + + + + + + + diff --git a/testing/web-platform/tests/uievents/click/click_event_target_siblings.html b/testing/web-platform/tests/uievents/click/click_event_target_siblings.html new file mode 100644 index 0000000000..24d64dc9ac --- /dev/null +++ b/testing/web-platform/tests/uievents/click/click_event_target_siblings.html @@ -0,0 +1,102 @@ + + + + + Click targets the nearest common ancestor + + + + + + + + +

Click targeting when targets of down and up are sibling elements

+ This test verifies that click event always goes to the first common ancestor of down and up event targets. + + + +
+
+
+
+ +
+ + +
+ +
+ + +
+ + + + + + + diff --git a/testing/web-platform/tests/uievents/click/click_events_on_input.html b/testing/web-platform/tests/uievents/click/click_events_on_input.html new file mode 100644 index 0000000000..2f380eb451 --- /dev/null +++ b/testing/web-platform/tests/uievents/click/click_events_on_input.html @@ -0,0 +1,62 @@ + + + + + Clicking with primary vs non-primary buttons + + + + + + + +

Clicking on input type=text element when placeholder changes

+ + + + + diff --git a/testing/web-platform/tests/uievents/click/contextmenu_event.html b/testing/web-platform/tests/uievents/click/contextmenu_event.html new file mode 100644 index 0000000000..7a33d0aa38 --- /dev/null +++ b/testing/web-platform/tests/uievents/click/contextmenu_event.html @@ -0,0 +1,51 @@ + + + + + Contextmenu event + + + + + + + +

Test contextmenu event

+

Tests that right-clicking fires a contextmenu event.

+
    +
  1. Right-click here. +
+ + + diff --git a/testing/web-platform/tests/uievents/click/dblclick_event_mouse.html b/testing/web-platform/tests/uievents/click/dblclick_event_mouse.html new file mode 100644 index 0000000000..50324f6dfd --- /dev/null +++ b/testing/web-platform/tests/uievents/click/dblclick_event_mouse.html @@ -0,0 +1,44 @@ + + + + + dblclick event for the mouse pointer type + + + + + + + + + +

Double-click on the green box with the left mouse button.

+
+ + + -- cgit v1.2.3