blob: aa31da01799413291aa6f9f489d5d84e3f59ce41 [file] [log] [blame]
<script type="text/javascript">
function test()
{
if (!window.layoutTestController)
return;
document.body.offsetTop; // Force layout. The mouse is not tracked before first layout.
eventSender.mouseMoveTo(20, 20);
}
</script>
<style>
div#t { width: 100px; height: 100px; }
</style>
<body onload="test()">
<div id="t" onmouseover="document.getElementById('result').innerText = 'PASS'">
</div>
Test for <i><a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=7589">http://bugzilla.opendarwin.org/show_bug.cgi?id=7589</a>
Mouse moved events do not work in DumpRenderTree</i>.
<hr>
<p>Test result: <span id="result">FAIL</span></p>
</body>