4 addEventListener("mouseout", function(event
){
5 if (event
.clientX
< 0 && event
.clientY
< 0)
6 document
.getElementById("target").innerHTML
= "PASS: Received mouseout event.";
12 This test ensures that mouse out events are sent to the window.
<br />
14 FAIL: No mouseout was sent.
17 if (window
.testRunner
)
18 testRunner
.dumpAsText();
19 if (window
.eventSender
) {
20 // Initial move on windows is used to force the webview to
21 // initialise the windows mouse event tracker.
22 eventSender
.mouseMoveTo(5, 5);
23 eventSender
.mouseMoveTo(-5, -5);