1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <link rel="stylesheet" href="../js/resources/js-test-style.css">
6 var successfullyParsed = false;
8 <script src="../js/resources/js-test-pre.js"></script>
11 <h1 id="header" tabindex=0>start element</h1>
12 <div><img src="resources/abe.png" alt="test" style="width:679px; height:112px" usemap="#Map"></div>
13 <div style="display:none"><map name="Map" id="Map"><area shape="rect" coords=coords="5,48,247,97" href="http://www.webkit.org/" target="_blank" id="area1"/></map></div>
15 <p id="description"></p>
16 <div id="console"></div>
20 description("This tests tabbing to an image map link where the map might not have a renderer won't crash.");
22 // start at the right place
23 document.getElementById("header").focus();
26 eventSender.keyDown('\t');
27 shouldBe("document.activeElement.id", "'area1'");
29 successfullyParsed = true;
32 <script src="../js/resources/js-test-post.js"></script>