blob: ac509c8ab6456e33aa604a6555e41c00926798a0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/ui-helper.js"></script>
<style>
input {
caret-color: transparent;
}
</style>
</head>
<body>
<input id="test" type="text"> <!-- 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>