This tests that -internal-direct-focus is not recognized in author stylesheets On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS defaultFocus.matches(":focus") is true PASS defaultFocus.matches(":-internal-direct-focus") threw exception SyntaxError: The string did not match the expected pattern.. PASS inputInShadowRoot.matches(":focus") is true PASS inputInShadowRoot.matches(":-internal-direct-focus") threw exception SyntaxError: The string did not match the expected pattern.. PASS successfullyParsed is true TEST COMPLETE