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/interface/README.md | 13 +++++ .../uievents/interface/click-event-manual.htm | 21 ++++++++ .../tests/uievents/interface/click-event.htm | 32 +++++++++++++ .../uievents/interface/dblclick-event-manual.htm | 21 ++++++++ .../interface/keyboard-accesskey-click-event.html | 56 ++++++++++++++++++++++ .../uievents/interface/keyboard-click-event.html | 50 +++++++++++++++++++ 6 files changed, 193 insertions(+) create mode 100644 testing/web-platform/tests/uievents/interface/README.md create mode 100644 testing/web-platform/tests/uievents/interface/click-event-manual.htm create mode 100644 testing/web-platform/tests/uievents/interface/click-event.htm create mode 100644 testing/web-platform/tests/uievents/interface/dblclick-event-manual.htm create mode 100644 testing/web-platform/tests/uievents/interface/keyboard-accesskey-click-event.html create mode 100644 testing/web-platform/tests/uievents/interface/keyboard-click-event.html (limited to 'testing/web-platform/tests/uievents/interface') diff --git a/testing/web-platform/tests/uievents/interface/README.md b/testing/web-platform/tests/uievents/interface/README.md new file mode 100644 index 0000000000..970fdd4df3 --- /dev/null +++ b/testing/web-platform/tests/uievents/interface/README.md @@ -0,0 +1,13 @@ +Interface tests +============================== + +These test that the basic UI Events interfaces exist, specifically: + +1. Does the interface exist +2. Are all the members defined on the interface accounted for: + * UIEvent + * MouseEvent + * FocusEvent + * KeyboardEvent + * WheelEvent + * CompositionEvent diff --git a/testing/web-platform/tests/uievents/interface/click-event-manual.htm b/testing/web-platform/tests/uievents/interface/click-event-manual.htm new file mode 100644 index 0000000000..88db98d591 --- /dev/null +++ b/testing/web-platform/tests/uievents/interface/click-event-manual.htm @@ -0,0 +1,21 @@ + + + + Click event is a MouseEvent + + + + + +
Click in this box.
+
+ + + diff --git a/testing/web-platform/tests/uievents/interface/click-event.htm b/testing/web-platform/tests/uievents/interface/click-event.htm new file mode 100644 index 0000000000..b45dc29063 --- /dev/null +++ b/testing/web-platform/tests/uievents/interface/click-event.htm @@ -0,0 +1,32 @@ + + + + Click event is a PointerEvent + + + + + +
+
+ + + diff --git a/testing/web-platform/tests/uievents/interface/dblclick-event-manual.htm b/testing/web-platform/tests/uievents/interface/dblclick-event-manual.htm new file mode 100644 index 0000000000..7ea0bdbf13 --- /dev/null +++ b/testing/web-platform/tests/uievents/interface/dblclick-event-manual.htm @@ -0,0 +1,21 @@ + + + + Double click (dblclick) event is a MouseEvent + + + + + +
Double Click in this box.
+
+ + + diff --git a/testing/web-platform/tests/uievents/interface/keyboard-accesskey-click-event.html b/testing/web-platform/tests/uievents/interface/keyboard-accesskey-click-event.html new file mode 100644 index 0000000000..f90101e31e --- /dev/null +++ b/testing/web-platform/tests/uievents/interface/keyboard-accesskey-click-event.html @@ -0,0 +1,56 @@ + + + + + + + +

Tests that a keyboard access key to press a button will fire only the click event

+ + + + + diff --git a/testing/web-platform/tests/uievents/interface/keyboard-click-event.html b/testing/web-platform/tests/uievents/interface/keyboard-click-event.html new file mode 100644 index 0000000000..2b5e06d9c1 --- /dev/null +++ b/testing/web-platform/tests/uievents/interface/keyboard-click-event.html @@ -0,0 +1,50 @@ + + + + + + +

Tests that a button pressed by using Space or Enter will fire only the click event

+ + + + -- cgit v1.2.3