From 6deffb0efb96b0dfe75b0a85cca717508c95dd71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mu-An=20=E6=85=95=E5=AE=89?= Date: Tue, 28 Apr 2020 11:33:21 +0000 Subject: [PATCH] Bug 1624710 [wpt PR 22424] - Add a test for unexpected activation triggered during space keydown driven focus management, a=testonly Automatic update from web-platform-tests Add a test for unexpected activation triggered during space keydown driven focus management (#22424) Relevant spec: https://w3c.github.io/uievents/#event-flow-activation This is targeting a Firefox bug where when forwarding focus on space and enter keydown events, a unexpected click event is triggered on the forward target. Here's a demo page for the buggy behavior:https://html-is.glitch.me/firefox-space-focus.html This test case only cover the Space key case where Firefox is the outlier. -- wpt-commits: cc87c188abc5c88460d24379e69d540372f0c683 wpt-pr: 22424 --- .../focus-management-expectations.html | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html new file mode 100644 index 000000000000..1845c15d7167 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html @@ -0,0 +1,48 @@ + + + + + + Focus management event expectations + + + + + + + + + + + + + + + + + + \ No newline at end of file