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 --- ...pointercapture-not-lost-in-chorded-buttons.html | 225 +++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 testing/web-platform/tests/pointerevents/pointerevent_pointercapture-not-lost-in-chorded-buttons.html (limited to 'testing/web-platform/tests/pointerevents/pointerevent_pointercapture-not-lost-in-chorded-buttons.html') diff --git a/testing/web-platform/tests/pointerevents/pointerevent_pointercapture-not-lost-in-chorded-buttons.html b/testing/web-platform/tests/pointerevents/pointerevent_pointercapture-not-lost-in-chorded-buttons.html new file mode 100644 index 0000000000..4f044f5533 --- /dev/null +++ b/testing/web-platform/tests/pointerevents/pointerevent_pointercapture-not-lost-in-chorded-buttons.html @@ -0,0 +1,225 @@ + + + + Set/Release capture when using chorded buttons + + + + + + + + + + + +

Pointer Events Capture Test - capture should not be lost early

+

+ Test Description: This test checks if setCapture/pointerup functions + works properly. Complete the following actions: +
    +
  1. Put your mouse over the red box +
  2. Press and hold left mouse button. Box will call setPointerCapture +
  3. Press right button and release +
  4. Pointer capture should not be lost +
  5. Press right button again and release +
  6. Pointer capture should not be lost +
  7. Release left mouse button. lostpointercapture is called +
+

+ Test passes if the proper behavior of the events is observed. +
+
+
+
+ + + -- cgit v1.2.3