7 testRunner.dumpAsText();
8 log(document.activeElement);
9 document.getElementById('one').focus();
10 log(document.activeElement + " id: " + document.activeElement.id);
11 document.getElementById('two').focus();
12 log(document.activeElement + " id: " + document.activeElement.id);
13 document.getElementById('two').blur();
14 log(document.activeElement);
18 document.getElementById("console").appendChild(document.createTextNode(msg + "\n"));
22 <body onload="test()">
23 <input id="one"><input id="two">
25 <pre id="console"></pre>