From 7c3243892393b192cff450ab249b761ff7bd58b0 Mon Sep 17 00:00:00 2001 From: Mustaq Ahmed Date: Sat, 13 Nov 2021 10:06:48 +0000 Subject: [PATCH] Bug 1739634 [wpt PR 31521] - Add a WPT for pointerevent user activation trigger., a=testonly Automatic update from web-platform-tests Add a WPT for pointerevent user activation trigger. Related to HTML issue: https://github.com/whatwg/html/issues/3849 Also fix double-activation in Chrome's gesture tap. Bug: 826293, 1265587 Change-Id: I3bc3bcbcfeda242512fb777a1c8881c475fed5fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3254213 Reviewed-by: Robert Flack Reviewed-by: Avi Drissman Commit-Queue: Mustaq Ahmed Cr-Commit-Position: refs/heads/main@{#940118} -- wpt-commits: aa2fc4c2ddfac8b0870c0b075899478c9cabc0c2 wpt-pr: 31521 --- .../activation-trigger-mouse-right.html | 3 +- .../activation-trigger-pointerevent.html | 61 +++++++++++++++++++ 2 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 testing/web-platform/tests/html/user-activation/activation-trigger-pointerevent.html diff --git a/testing/web-platform/tests/html/user-activation/activation-trigger-mouse-right.html b/testing/web-platform/tests/html/user-activation/activation-trigger-mouse-right.html index a4734d06a12bc..e46d2650d5d7b 100644 --- a/testing/web-platform/tests/html/user-activation/activation-trigger-mouse-right.html +++ b/testing/web-platform/tests/html/user-activation/activation-trigger-mouse-right.html @@ -17,8 +17,7 @@

Test for right-click activation trigger

+ + + + + + + +

Test for pointerevent click activation trigger

+

Tests user activation from a pointer click.

+
    +
  1. Click anywhere in the document. +
+ + +