3 <script src="../js/resources/js-test-pre.js"></script>
5 if (window.layoutTestController)
6 layoutTestController.waitUntilDone();
10 window.onload = function() { document.getElementById("input").focus(); }
13 var f = document.getElementById('f')
18 testFailed('Onblur handler called.');
20 testPassed('Onblur handler not called.');
22 debug('<br /><span class="pass">TEST COMPLETE</span>');
23 if (window.layoutTestController)
24 layoutTestController.notifyDone();
29 <p id="description"></p>
31 <input id="input" onblur="numBlurs++" onfocus="setTimeout('finish()', 0)">
33 <div id="console"></div>
35 description("This tests that elements shouldn't emit any onblur events when they are being removed from the document. <br>" +
36 "Note, this test is expected to fail as of 04/25/2011. See bug #59379.");