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