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 --- .../pointerevents/pointerevent_capture_mouse.html | 169 +++++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 testing/web-platform/tests/pointerevents/pointerevent_capture_mouse.html (limited to 'testing/web-platform/tests/pointerevents/pointerevent_capture_mouse.html') diff --git a/testing/web-platform/tests/pointerevents/pointerevent_capture_mouse.html b/testing/web-platform/tests/pointerevents/pointerevent_capture_mouse.html new file mode 100644 index 0000000000..61a933afd8 --- /dev/null +++ b/testing/web-platform/tests/pointerevents/pointerevent_capture_mouse.html @@ -0,0 +1,169 @@ + + + + Set/Release capture + + + + + + + + + + + +

Pointer Events capture test

+

+ Test Description: This test checks if setCapture/releaseCapture functions works properly. Complete the following actions: +
    +
  1. Move your mouse over the black rectangle. pointermove event should be logged in the black rectangle
  2. +
  3. Move your mouse over the purple rectangle. pointerover event should be logged in the purple rectangle
  4. +
  5. Press and hold left mouse button over "Set Capture" button. "gotpointercapture" should be logged in the black rectangle
  6. +
  7. Move your mouse anywhere. pointermove should be logged in the black rectangle
  8. +
  9. Move your mouse over the purple rectangle. Nothig should happen
  10. +
  11. Move your mouse over the black rectangle. pointermove should be logged in the black rectangle
  12. +
  13. Release left mouse button. "lostpointercapture" should be logged in the black rectangle
  14. +
+

+ Test passes if the proper behaviour of the events is observed. +
+
+
+
+ + +

Pointer Events Capture Test

+
+

The following pointer types were detected: .

+

The following events were logged: .

+
+
+ + -- cgit v1.2.3