blob: a6c504136ce594d8e88cbd1d01a91785818a8290 [file] [log] [blame]
<html>
<head>
<script>
addEventListener("mouseout", function(event){
if (event.clientX < 0 && event.clientY < 0)
document.getElementById("target").innerHTML = "PASS: Received mouseout event.";
}, true);
</script>
</head>
<body>
This test ensures that mouse out events are sent to the window.<br />
<div id="target">
FAIL: No mouseout was sent.
</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.eventSender) {
// Initial move on windows is used to force the webview to
// initialise the windows mouse event tracker.
eventSender.mouseMoveTo(5, 5);
eventSender.mouseMoveTo(-5, -5);
}
</script>
</body>
</html>