blob: 2d001683116203a2993c8533f729a7d8aa94216d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/ui-helper.js"></script>
</head>
<body>
<input id="test" type="checkbox" checked> <!-- Test PASSED if there is a focus ring -->
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
let testElement = document.getElementById("test");
testElement.addEventListener("focus", () => testRunner.notifyDone(), { once: true });
UIHelper.keyDown("\t", ["altKey"]);
}
</script>
</body>
</html>