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-001.html | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 testing/web-platform/tests/css/selectors/focus-visible-001.html (limited to 'testing/web-platform/tests/css/selectors/focus-visible-001.html') diff --git a/testing/web-platform/tests/css/selectors/focus-visible-001.html b/testing/web-platform/tests/css/selectors/focus-visible-001.html new file mode 100644 index 0000000000..956c91352a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/focus-visible-001.html @@ -0,0 +1,57 @@ + + + + + CSS Test (Selectors): Keyboard focus enables :focus-visible + + + + + + + + + + + This test checks that using the Tab key to navigate focus to an element triggers :focus-visible matching. +
    +
  1. If the user-agent does not claim to support the :focus-visible pseudo-class then SKIP this test.
  2. +
  3. Use the TAB key on the keyboard to focus the element below that says "Focus me."
  4. +
  5. If the element has a red background, then the test result is FAILURE. If the element has a green outline, then the test result is SUCCESS.
  6. +
+
+
Focus me.
+ + + -- cgit v1.2.3