1 <p>This test verifies that a node does not retain keyboard focus after it has
2 been removed from the DOM.</p>
5 <pre id="console">PASS: did not get keyboard event.</pre>
9 testRunner.dumpAsText();
11 input = document.getElementsByTagName('input')[0];
13 input.onkeypress = function() {
14 document.getElementById('console').innerHTML = "FAIL: got keyboard event.\n"
17 input.parentNode.removeChild(input);
19 if (window.eventSender)
20 eventSender.keyDown("A");
22 document.getElementById('console').innerHTML = "This test only runs from DumpRenderTree.\n"