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="../../resources/js-test.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"> |
11 <area id="area4" shape="rect" coords="420,19,478,278" nohref> | 11 <area id="area4" shape="rect" coords="420,19,478,278" nohref> |
12 <area id="area5" shape="circle" coords="220,150,100" href="4"> | 12 <area id="area5" shape="circle" coords="220,150,100" href="4"> |
13 <area id="area6" shape="default" coords="0,0,500,300" href="5"> | 13 <area id="area6" shape="default" coords="0,0,500,300" href="5"> |
14 <area id="area7" shape="rect" coords="1, 1, 10, 10" tabindex=-1 href="6"> | 14 <area id="area7" shape="rect" coords="1, 1, 10, 10" tabindex=-1 href="6"> |
(...skipping 26 matching lines...) Expand all Loading... |
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 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |