blob: 9945b680d305089802c1e377bbe01e6045267ff6 [file] [log] [blame]
This test checks that by default, if using JavaScript to focus an element triggers :focus-visible matching, then the element should show a focus ring with outline-style: auto.
If the element below that says "Target" show a focus ring with outline-style: auto, then the test result is SUCCESS.
Target
PASS ":focus-visible" should be a valid selector
PASS By default initial programatic focus matches ':focus-visible', so the element shows a focus ring with 'outline-style: auto'