OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
4 <script src="resources/spatial-navigation-utils.js"></script> | 4 <script src="resources/spatial-navigation-utils.js"></script> |
5 <script type="application/javascript"> | 5 <script type="application/javascript"> |
6 | 6 |
7 var resultMap = [ | 7 var resultMap = [ |
8 ["Down", "e1"], | 8 ["Down", "e1"], |
9 ["Down", "e2"], | 9 ["Down", "e2"], |
10 ["Down", "e3"], | 10 ["Down", "e3"], |
(...skipping 19 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 function testCompleted() | 32 function testCompleted() |
33 { | 33 { |
34 if (window.testRunner) | 34 if (window.testRunner) |
35 testRunner.notifyDone(); | 35 testRunner.notifyDone(); |
36 } | 36 } |
37 | 37 |
38 window.onload = runTest; | 38 window.onload = runTest; |
39 </script> | 39 </script> |
40 <script src="js/resources/js-test-post.js"></script> | |
41 <style> | 40 <style> |
42 div.container1 { width: 100px;} | 41 div.container1 { width: 100px;} |
43 div.container2 { width: 100px;} | 42 div.container2 { width: 100px;} |
44 </style> | 43 </style> |
45 </head> | 44 </head> |
46 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml" style="padding:20px
"> | 45 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml" style="padding:20px
"> |
47 <div class="container1"> | 46 <div class="container1"> |
48 <a href="#" id="start">AAAAAAAAAA AAAAAAAAAA AA</a> | 47 <a href="#" id="start">AAAAAAAAAA AAAAAAAAAA AA</a> |
49 <a href="#" id="e1">AA AAAAAAAAAA AAAAAAAAAA</a> | 48 <a href="#" id="e1">AA AAAAAAAAAA AAAAAAAAAA</a> |
50 </div> | 49 </div> |
51 <br><br> | 50 <br><br> |
52 <div class="container2"> | 51 <div class="container2"> |
53 <a href="#" id="e2">AAAAAAAAAA AAAAAAAAAA AA</a> | 52 <a href="#" id="e2">AAAAAAAAAA AAAAAAAAAA AA</a> |
54 <span>B</span> | 53 <span>B</span> |
55 <a href="#" id="e3">AA AAAAAAAAAA AAAAAAAAAA</a> | 54 <a href="#" id="e3">AA AAAAAAAAAA AAAAAAAAAA</a> |
56 </div> | 55 </div> |
57 | 56 |
58 | 57 |
59 | 58 |
60 | 59 |
61 <div id="console"></div> | 60 <div id="console"></div> |
62 This test is testing that we can handle 2 inline elements in the same line. | 61 This test is testing that we can handle 2 inline elements in the same line. |
63 </body> | 62 </body> |
64 </html> | 63 </html> |
OLD | NEW |