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/css/selectors/focus-visible-005.html | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 testing/web-platform/tests/css/selectors/focus-visible-005.html (limited to 'testing/web-platform/tests/css/selectors/focus-visible-005.html') diff --git a/testing/web-platform/tests/css/selectors/focus-visible-005.html b/testing/web-platform/tests/css/selectors/focus-visible-005.html new file mode 100644 index 0000000000..a678261f69 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/focus-visible-005.html @@ -0,0 +1,54 @@ + + + + + CSS Test (Selectors): Programmatic focus causes :focus-visible to match + + + + + + + + + + This test checks that programmatically focusing an element after a click does not cause :focus-visible matching to trigger. +
    +
  1. If the user-agent does not claim to support the :focus-visible pseudo-class then SKIP this test.
  2. +
  3. Click the button below that says "Click me."
  4. +
  5. If the element that says "I will be focused programmatically." has a red outline, then the test result is FAILURE. If the element has a green background, then the test result is SUCCESS.
  6. +
+
+ +
I will be focused programmatically.
+ + + -- cgit v1.2.3