1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../../resources/js-test.js"></script>
7 <h1 id=
"header" tabindex=
0>start element
</h1>
8 <div><img src=
"resources/abe.png" alt=
"test" style=
"width:679px; height:112px" usemap=
"#Map"></div>
9 <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>
11 <p id=
"description"></p>
12 <div id=
"console"></div>
16 description("This tests tabbing to an image map link where the map might not have a renderer won't crash.");
18 // start at the right place
19 document
.getElementById("header").focus();
22 eventSender
.keyDown('\t');
23 shouldBe("document.activeElement.id", "'area1'");