blob: 2c05d765b66957dabaeeb7adb480db192d795bfd [file] [log] [blame]
This test checks that a script focus after a keyboard input does match :focus-visible.
Type some letter with the keyboard without having done anything before.
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.
Focused
PASS ":focus-visible" should be a valid selector
PASS Script focus after keyboard event does match :focus-visible