| testRunner.waitUntilDone(); |
| document.getElementById("textField").focus(); |
| if (window.eventSender) { |
| eventSender.mouseMoveTo(document.body.clientWidth + 8, 40); |
| if (document.activeElement.getAttribute("id") == "textField") |
| document.getElementById('console').innerHTML = "PASS"; |
| document.getElementById('console').innerHTML = "FAIL"; |
| window.testRunner.notifyDone(); |
| <div id="console" style="width:200%;height:200%;"> |
| <input id="textField" type="text"><br><br> |
| <div style="border:2px solid black;width:25%;" onclick="finished();"> This test checks that right clicking the scroll bars doesn't trigger a blur event in content (See <a href="https://bugs.webkit.org/show_bug.cgi?id=16809">Bug 16809</a>). If the test passes, the output will be a single line that says PASS. To run the tests manually, click each of the scroll bars, and focus shoulds remain in the input field above</div> |