Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / imagemap-norender-crash.html
blob536851984b35f7b5d6479554ab847f4ed71628d9
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <body id="body">
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>
14 <script>
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();
21 // tab forward
22 eventSender.keyDown('\t');
23 shouldBe("document.activeElement.id", "'area1'");
24 </script>
26 </body>
27 </html>