| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 <body id="body"> | 5 <body id="body"> |
| 6 | 6 |
| 7 <h1 id="header" tabindex=0>start element</h1> | 7 <h1 id="header" tabindex=0>start element</h1> |
| 8 <div><img src="resources/abe.png" alt="test" style="width:679px; height:112px" u
semap="#Map"></div> | 8 <div><img src="resources/abe.png" alt="test" style="width:679px; height:112px" u
semap="#Map"></div> |
| 9 <div style="display:none"><map name="Map" id="Map"><area shape="rect" coords=coo
rds="5,48,247,97" href="http://www.webkit.org/" target="_blank" id="area1"/></ma
p></div> | 9 <div style="display:none"><map name="Map" id="Map"><area shape="rect" coords=coo
rds="5,48,247,97" href="http://www.webkit.org/" target="_blank" id="area1"/></ma
p></div> |
| 10 | 10 |
| 11 <p id="description"></p> | 11 <p id="description"></p> |
| 12 <div id="console"></div> | 12 <div id="console"></div> |
| 13 | 13 |
| 14 <script> | 14 <script> |
| 15 | 15 |
| 16 description("This tests tabbing to an image map link where the map might not
have a renderer won't crash."); | 16 description("This tests tabbing to an image map link where the map might not
have a renderer won't crash."); |
| 17 | 17 |
| 18 // start at the right place | 18 // start at the right place |
| 19 document.getElementById("header").focus(); | 19 document.getElementById("header").focus(); |
| 20 | 20 |
| 21 // tab forward | 21 // tab forward |
| 22 eventSender.keyDown('\t'); | 22 eventSender.keyDown('\t'); |
| 23 shouldBe("document.activeElement.id", "'area1'"); | 23 shouldBe("document.activeElement.id", "'area1'"); |
| 24 </script> | 24 </script> |
| 25 | 25 |
| 26 <script src="../js/resources/js-test-post.js"></script> | |
| 27 </body> | 26 </body> |
| 28 </html> | 27 </html> |
| OLD | NEW |