haikuwebkit/LayoutTests/fast/forms/input-text-click-inside.html

10 lines
396 B
HTML

<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>
if (window.eventSender) {
eventSender.mouseMoveTo(100, 45);
eventSender.mouseDown();
eventSender.mouseUp();
}
</script>