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