| 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 <map name="mymap"> | 7 <map name="mymap"> |
| 8 <area id="area1" shape="circle" coords="70,84,51" href="1"> | 8 <area id="area1" shape="circle" coords="70,84,51" href="1"> |
| 9 <area id="area2" shape="rect" coords="25,180,125,280" href="2"> | 9 <area id="area2" shape="rect" coords="25,180,125,280" href="2"> |
| 10 <area id="area3" shape="poly" coords="153,106,186,225,340,193,315,81,304,167" hr
ef="3"> | 10 <area id="area3" shape="poly" coords="153,106,186,225,340,193,315,81,304,167" hr
ef="3"> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 eventSender.keyDown('\t'); | 40 eventSender.keyDown('\t'); |
| 41 shouldBe("document.activeElement.id", "'area6'"); | 41 shouldBe("document.activeElement.id", "'area6'"); |
| 42 | 42 |
| 43 // We'll skip over area7 because its tabindex=-1. On the Mac, the wrap aroun
d should give | 43 // We'll skip over area7 because its tabindex=-1. On the Mac, the wrap aroun
d should give |
| 44 // area1. On GTK, we will go to the body element. | 44 // area1. On GTK, we will go to the body element. |
| 45 eventSender.keyDown('\t'); | 45 eventSender.keyDown('\t'); |
| 46 shouldBe("document.activeElement.id == 'area1' || document.activeElement.id
== 'body'", "true"); | 46 shouldBe("document.activeElement.id == 'area1' || document.activeElement.id
== 'body'", "true"); |
| 47 </script> | 47 </script> |
| 48 | 48 |
| 49 <script src="../js/resources/js-test-post.js"></script> | |
| 50 </body> | 49 </body> |
| 51 </html> | 50 </html> |
| OLD | NEW |