diff --git a/css/selectors/focus-visible-script-focus-001.html b/css/selectors/focus-visible-script-focus-001.html new file mode 100644 index 00000000000000..71cd42168d01f4 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-001.html @@ -0,0 +1,54 @@ + + +CSS Test (Selectors): Script focus without any previous user interaction matches :focus-visible + + + + + + + +

This test checks that a script focus when the user hasn't interacted with the page yet, always matches :focus-visible.

+
    +
  1. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  2. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-002.tentative.html b/css/selectors/focus-visible-script-focus-002.tentative.html new file mode 100644 index 00000000000000..45a9d71516259b --- /dev/null +++ b/css/selectors/focus-visible-script-focus-002.tentative.html @@ -0,0 +1,64 @@ + + +CSS Test (Selectors): Script focus after mouse click does match :focus-visible + + + + + + + + + +

This test checks that a script focus after a mouse click does match :focus-visible.

+
    +
  1. Click in some part of the page other than the element that says "Focused".
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Focused
+ + + diff --git a/css/selectors/focus-visible-script-focus-003.tentative.html b/css/selectors/focus-visible-script-focus-003.tentative.html new file mode 100644 index 00000000000000..49c80c2d96fb57 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-003.tentative.html @@ -0,0 +1,64 @@ + + +CSS Test (Selectors): Script focus after blur after mouse click does match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a mouse click does match :focus-visible.

+
    +
  1. Click in some part of the page other than the element that says "Focused".
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-004.html b/css/selectors/focus-visible-script-focus-004.html new file mode 100644 index 00000000000000..917204f1b0ac98 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-004.html @@ -0,0 +1,62 @@ + + +CSS Test (Selectors): Script focus after keyboard input does match :focus-visible + + + + + + + + + +

This test checks that a script focus after a keyboard input does match :focus-visible.

+
    +
  1. Type some letter with the keyboard without having done anything before.
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Focused
+ + + diff --git a/css/selectors/focus-visible-script-focus-005.html b/css/selectors/focus-visible-script-focus-005.html new file mode 100644 index 00000000000000..5a343780dd8178 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-005.html @@ -0,0 +1,63 @@ + + +CSS Test (Selectors): Script focus after blur after keyboard input does match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a keyboard input does match :focus-visible.

+
    +
  1. Type some letter with the keyboard without having done anything before.
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Focused
+ + + diff --git a/css/selectors/focus-visible-script-focus-006.tentative.html b/css/selectors/focus-visible-script-focus-006.tentative.html new file mode 100644 index 00000000000000..11a102d6feee70 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-006.tentative.html @@ -0,0 +1,65 @@ + + +CSS Test (Selectors): Script focus after mouse click on a NOT focusable element does match :focus-visible + + + + + + + + + +

This test checks that a script focus after a mouse click on a NOT focusable element does match :focus-visible.

+
    +
  1. Click on the element that says "Click me".
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Click me
+
Focused
+ + + diff --git a/css/selectors/focus-visible-script-focus-007.tentative.html b/css/selectors/focus-visible-script-focus-007.tentative.html new file mode 100644 index 00000000000000..f5a8b9912c91d0 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-007.tentative.html @@ -0,0 +1,66 @@ + + +CSS Test (Selectors): Script focus after blur after mouse click on a NOT focusable element does match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a mouse click on a NOT focusable element does match :focus-visible.

+
    +
  1. Click on the element that says "Click me".
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Click me
+
Focused
+ + + diff --git a/css/selectors/focus-visible-script-focus-008.html b/css/selectors/focus-visible-script-focus-008.html new file mode 100644 index 00000000000000..ce73aa94102588 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-008.html @@ -0,0 +1,64 @@ + + +CSS Test (Selectors): Script focus after mouse click on a focusable element that does not match :focus-visible, does NOT match :focus-visible + + + + + + + + + +

This test checks that a script focus after a mouse click on a focusable element that does not match :focus visible, does NOT match :focus-visible.

+
    +
  1. Click on the element that says "Click me".
  2. +
  3. If the element that says "Focused" has a red outline then the test result is FAILURE, if it has a green background then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Click me
+
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-009.html b/css/selectors/focus-visible-script-focus-009.html new file mode 100644 index 00000000000000..e29928b841bd86 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-009.html @@ -0,0 +1,65 @@ + + +CSS Test (Selectors): Script focus after blur after mouse click on a focusable element that does not match :focus-visible, does NOT match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a mouse click on a focusable element that does not match :focus visible, does NOT match :focus-visible.

+
    +
  1. Click on the element that says "Click me".
  2. +
  3. If the element that says "Focused" has a red outline then the test result is FAILURE, if it has a green background then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Click me
+
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-010.html b/css/selectors/focus-visible-script-focus-010.html new file mode 100644 index 00000000000000..2c8671bbddf73c --- /dev/null +++ b/css/selectors/focus-visible-script-focus-010.html @@ -0,0 +1,64 @@ + + +CSS Test (Selectors): Script focus after mouse click on a focusable element that matches :focus-visible, does NOT match :focus-visible + + + + + + + + + +

This test checks that a script focus after a mouse click on a focusable element that matches :focus visible, does NOT match :focus-visible.

+
    +
  1. Click on the element that says "Click me".
  2. +
  3. If the element that says "Focused" has a red outline then the test result is FAILURE, if it has a green background then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-011.html b/css/selectors/focus-visible-script-focus-011.html new file mode 100644 index 00000000000000..8767cd5cfd876d --- /dev/null +++ b/css/selectors/focus-visible-script-focus-011.html @@ -0,0 +1,65 @@ + + +CSS Test (Selectors): Script focus after blur after mouse click on a focusable element that matches :focus-visible, does NOT match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a mouse click on a focusable element that matches :focus visible, does NOT match :focus-visible.

+
    +
  1. Click on the element that says "Click me".
  2. +
  3. If the element that says "Focused" has a red outline then the test result is FAILURE, if it has a green background then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-012.html b/css/selectors/focus-visible-script-focus-012.html new file mode 100644 index 00000000000000..a9bcbe3544eaab --- /dev/null +++ b/css/selectors/focus-visible-script-focus-012.html @@ -0,0 +1,63 @@ + + +CSS Test (Selectors): Script focus after keyboard focus does match :focus-visible + + + + + + + + + +

This test checks that a script focus after a keyboard focus does match :focus-visible.

+
    +
  1. Type TAB key.
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Focus me
+
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-013.html b/css/selectors/focus-visible-script-focus-013.html new file mode 100644 index 00000000000000..369c7fc41e5a82 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-013.html @@ -0,0 +1,64 @@ + + +CSS Test (Selectors): Script focus after blur after keyboard focus does match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a keyboard focus does match :focus-visible.

+
    +
  1. Type TAB key.
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ +
Focus me
+
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-014.html b/css/selectors/focus-visible-script-focus-014.html new file mode 100644 index 00000000000000..2621c0493fe39a --- /dev/null +++ b/css/selectors/focus-visible-script-focus-014.html @@ -0,0 +1,63 @@ + + +CSS Test (Selectors): Script focus after keyboard input does match :focus-visible + + + + + + + + + +

This test checks that a script focus after a keyboard input does match :focus-visible.

+
    +
  1. Click on the input below and type some letter.
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-015.html b/css/selectors/focus-visible-script-focus-015.html new file mode 100644 index 00000000000000..ed91ff1e5c36af --- /dev/null +++ b/css/selectors/focus-visible-script-focus-015.html @@ -0,0 +1,64 @@ + + +CSS Test (Selectors): Script focus after blur after keyboard input does match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a keyboard input does match :focus-visible.

+
    +
  1. Click on the input below and type some letter.
  2. +
  3. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  4. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-016.tentative.html b/css/selectors/focus-visible-script-focus-016.tentative.html new file mode 100644 index 00000000000000..8f88c6ce703be0 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-016.tentative.html @@ -0,0 +1,72 @@ + + +CSS Test (Selectors): Script focus after mouse click on a NOT focusable element after editing an input does match :focus-visible + + + + + + + + + +

This test checks that a script focus after a mouse click on a NOT focusable element after editing an input does match :focus-visible.

+
    +
  1. Click on the input below and type some letter.
  2. +
  3. Then click on the element that says "Click me".
  4. +
  5. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  6. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Click me
+
Focused
+ + + diff --git a/css/selectors/focus-visible-script-focus-017.tentative.html b/css/selectors/focus-visible-script-focus-017.tentative.html new file mode 100644 index 00000000000000..216f43f8086142 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-017.tentative.html @@ -0,0 +1,74 @@ + + +CSS Test (Selectors): Script focus after blur after mouse click on a NOT focusable element after editing an input does match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a mouse click on a NOT focusable element after editing an input does match :focus-visible.

+
    +
  1. Click on the input below and type some letter.
  2. +
  3. Then click on the element that says "Click me".
  4. +
  5. If the element that says "Focused" has a red background then the test result is FAILURE, if it has a green outline then the test result is SUCCESS.
  6. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Click me
+
Focused
+ + + + diff --git a/css/selectors/focus-visible-script-focus-018.html b/css/selectors/focus-visible-script-focus-018.html new file mode 100644 index 00000000000000..dc4f5c7047e493 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-018.html @@ -0,0 +1,71 @@ + + +CSS Test (Selectors): Script focus after mouse click on a focusable element after editing an input does NOT match :focus-visible + + + + + + + + + +

This test checks that a script focus after a mouse click on a focusable element after editing an input does NOT match :focus-visible.

+
    +
  1. Click on the input below and type some letter.
  2. +
  3. Then click on the element that says "Click me".
  4. +
  5. If the element that says "Focused" has a red outline then the test result is FAILURE, if it has a green background then the test result is SUCCESS.
  6. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Click me
+
Focused
+ + diff --git a/css/selectors/focus-visible-script-focus-019.html b/css/selectors/focus-visible-script-focus-019.html new file mode 100644 index 00000000000000..c427de2bf9af15 --- /dev/null +++ b/css/selectors/focus-visible-script-focus-019.html @@ -0,0 +1,72 @@ + + +CSS Test (Selectors): Script focus after blur after mouse click on a focusable element after editing an input does NOT match :focus-visible + + + + + + + + + +

This test checks that a script focus after blur after a mouse click on a focusable element after editing an input does NOT match :focus-visible.

+
    +
  1. Click on the input below and type some letter.
  2. +
  3. Then click on the element that says "Click me".
  4. +
  5. If the element that says "Focused" has a red outline then the test result is FAILURE, if it has a green background then the test result is SUCCESS.
  6. +
+

Your user-agent does not support :focus-visible pseudo-class, please SKIP this test.

+ + +
Click me
+
Focused
+ +