blob: 44498545a04861c9a9796e33ea2efceaeb725a96 [file] [log] [blame]
<script type="text/javascript">
function test()
{
if (!window.testRunner)
return;
testRunner.dumpAsText();
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="https://bugs.webkit.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>