| testRunner.waitUntilDone();
|
| document.getElementById('tf0').focus();
|
| eventSender.keyDown('a');
|
| var res = document.getElementById('res');
|
| res.innerHTML = res.innerHTML + msg + "<br>";
|
| This tests that when the keydown event changes focus, the keypress event will go to the new focused node.<br>
|
| To run this test manually, type a character in the first field.<br>
|
| <input id="tf0" onkeydown="document.getElementById('tf1').focus()" onkeypress="log('Test Failed')">
|
| <input id="tf1" onkeypress="log('Test Passed')">
|