This test checks that any element focused via an autofocus attribute will have :focus-visible matching enabled.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassAutofocus should match :focus-visible
Asserts run
Pass
assert_equals(Element node <button id="button" autofocus="" tabindex="-1">I will be ..., Element node <button id="button" autofocus="" tabindex="-1">I will be ..., "Should have correct focused element")
    at Test.<anonymous> ( /css/selectors/focus-visible-009.html:39:7)
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)", "outlineColor for BUTTON#button should be green")
    at Test.<anonymous> ( /css/selectors/focus-visible-009.html:40:7)
Pass
assert_not_equals("rgb(239, 239, 239)", "rgb(255, 0, 0)", "backgroundColor for BUTTON#button should NOT be red")
    at Test.<anonymous> ( /css/selectors/focus-visible-009.html:41:7)