| <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> |