blob: a6c504136ce594d8e88cbd1d01a91785818a8290 [file] [log] [blame]
addEventListener("mouseout", function(event){
if (event.clientX < 0 && event.clientY < 0)
document.getElementById("target").innerHTML = "PASS: Received mouseout event.";
}, true);
This test ensures that mouse out events are sent to the window.<br />
<div id="target">
FAIL: No mouseout was sent.
if (window.testRunner)
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);