4 <script src="../js/resources/js-test-pre.js"></script>
6 window.jsTestIsAsync = true;
9 shouldBe('document.activeElement', 'document.querySelector("keygen")');
10 shouldBe('document.activeElement.autofocus', 'true');
15 <body onload="onLoad();">
18 This tests whether the keygen element supports the autofocus attribute.
21 <script src="../js/resources/js-test-post.js"></script>