blob: cd8380c4bc499bb147f8ea4e702db1fb1293e6ea [file] [log] [blame] [edit]
<div style="width: 400px; height: 50px; padding: 25px 0 0 25px; background: yellow;"><input></div>
<p>This test clicks inside an input element, and must result in the element receiving focus. If the test succeeds the element should have a focus ring.</p>
<script>
onload = async () => {
if (!window.testRunner)
return;
testRunner.waitUntilDone();
if (window.eventSender) {
await eventSender.asyncMouseMoveTo(100, 45);
await eventSender.asyncMouseDown();
await eventSender.asyncMouseUp();
}
testRunner.notifyDone();
}
</script>