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", "p11"], | 8 ["Down", "p11"], |
9 ["Down", "p12"], | 9 ["Down", "p12"], |
10 ["Down", "s25"], | 10 ["Down", "s25"], |
(...skipping 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 function testCompleted() | 35 function testCompleted() |
36 { | 36 { |
37 if (window.testRunner) | 37 if (window.testRunner) |
38 testRunner.notifyDone(); | 38 testRunner.notifyDone(); |
39 } | 39 } |
40 | 40 |
41 window.onload = runTest; | 41 window.onload = runTest; |
42 </script> | 42 </script> |
43 <script src="js/resources/js-test-post.js"></script> | |
44 <style> | 43 <style> |
45 div.simple { border: 3px solid red;} | 44 div.simple { border: 3px solid red;} |
46 div.simple:focus { border: 3px solid gray;} | 45 div.simple:focus { border: 3px solid gray;} |
47 div.positioned { border: 3px solid blue;} | 46 div.positioned { border: 3px solid blue;} |
48 div.positioned:focus{ border: 3px solid gray;} | 47 div.positioned:focus{ border: 3px solid gray;} |
49 #popup {position: absolute; top:120; left:240; border: 8px solid black; z-in
dex:1000} | 48 #popup {position: absolute; top:120; left:240; border: 8px solid black; z-in
dex:1000} |
50 </style> | 49 </style> |
51 </head> | 50 </head> |
52 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml" style="padding:20px
"> | 51 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml" style="padding:20px
"> |
53 <div id="popup"> | 52 <div id="popup"> |
(...skipping 17 matching lines...) Expand all Loading... |
71 <div tabindex="1" id="start" class="simple"><img src="resources/green.png" width
=160px height=60px></div> | 70 <div tabindex="1" id="start" class="simple"><img src="resources/green.png" width
=160px height=60px></div> |
72 <div tabindex="2" id="s22" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> | 71 <div tabindex="2" id="s22" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> |
73 <div tabindex="3" id="s23" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> | 72 <div tabindex="3" id="s23" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> |
74 <div tabindex="4" id="s24" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> | 73 <div tabindex="4" id="s24" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> |
75 <div tabindex="5" id="s25" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> | 74 <div tabindex="5" id="s25" class="simple"><img src="resources/green.png" width=1
60px height=60px></div> |
76 </td></tr></table> | 75 </td></tr></table> |
77 <div id="console"></div> | 76 <div id="console"></div> |
78 This test is testing that we prefer focusable elements with absolute positioning
over other elements. | 77 This test is testing that we prefer focusable elements with absolute positioning
over other elements. |
79 </body> | 78 </body> |
80 </html> | 79 </html> |
OLD | NEW |