OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 | 3 |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 <script src="resources/spatial-navigation-utils.js"></script> | 5 <script src="resources/spatial-navigation-utils.js"></script> |
6 <script type="application/javascript"> | 6 <script type="application/javascript"> |
7 | 7 |
8 var resultMap = [ | 8 var resultMap = [ |
9 ["Down", "4"], | 9 ["Down", "4"], |
10 ["Down", "1"], | 10 ["Down", "1"], |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 function testCompleted() | 39 function testCompleted() |
40 { | 40 { |
41 if (window.testRunner) | 41 if (window.testRunner) |
42 testRunner.notifyDone(); | 42 testRunner.notifyDone(); |
43 } | 43 } |
44 | 44 |
45 window.onload = runTest; | 45 window.onload = runTest; |
46 | 46 |
47 </script> | 47 </script> |
48 <script src="js/resources/js-test-post.js"></script> | |
49 </head> | 48 </head> |
50 | 49 |
51 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 50 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
52 <map name="map" title="map" id="firstmap"> | 51 <map name="map" title="map" id="firstmap"> |
53 <area shape="circle" coords="45,45,25" href="#" id="1"> | 52 <area shape="circle" coords="45,45,25" href="#" id="1"> |
54 <area shape="rect" coords="45,60,95,110" href="#" id="2"> | 53 <area shape="rect" coords="45,60,95,110" href="#" id="2"> |
55 <area shape="poly" coords="80,20,130,20,130,180,30,180,30,130,80,130" href="
#" id="3"> | 54 <area shape="poly" coords="80,20,130,20,130,180,30,180,30,130,80,130" href="
#" id="3"> |
56 <area shape="default" href="#" id="4"> | 55 <area shape="default" href="#" id="4"> |
57 </map> | 56 </map> |
58 | 57 |
59 <a id="start" href="a"><img src="resources/green.png" width=50px height=50px
></a> | 58 <a id="start" href="a"><img src="resources/green.png" width=50px height=50px
></a> |
60 <div> | 59 <div> |
61 <img src="resources/green.png" width=200px height=200px usemap="#map"> | 60 <img src="resources/green.png" width=200px height=200px usemap="#map"> |
62 </div> | 61 </div> |
63 <a id="5" href="a"><img src="resources/green.png" width=50px height=50px></a
> | 62 <a id="5" href="a"><img src="resources/green.png" width=50px height=50px></a
> |
64 <div id="console"></div> | 63 <div id="console"></div> |
65 <div>This test tests that areas of an imagemap can be reached with spatial n
avigation even if they are overlapped.</div> | 64 <div>This test tests that areas of an imagemap can be reached with spatial n
avigation even if they are overlapped.</div> |
66 </body> | 65 </body> |
67 </html> | 66 </html> |
68 | 67 |
OLD | NEW |