OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <head> | 2 <head> |
3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 <script src="resources/spatial-navigation-utils.js"></script> | 4 <script src="resources/spatial-navigation-utils.js"></script> |
5 <script> | 5 <script> |
6 window.jsTestIsAsync = true; | 6 window.jsTestIsAsync = true; |
7 | 7 |
8 if (window.testRunner) { | 8 if (window.testRunner) { |
9 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); | 9 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); |
10 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); | 10 window.internals.settings.setSpatialNavigationEnabled(true); |
11 } | 11 } |
12 </script> | 12 </script> |
13 </head> | 13 </head> |
14 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 14 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
15 <p id="description"></p> | 15 <p id="description"></p> |
16 <table style="text-align: left; width: 100%; margin-left: auto; margin-right: au
to;" border="1" cellpadding="2" cellspacing="1"> | 16 <table style="text-align: left; width: 100%; margin-left: auto; margin-right: au
to;" border="1" cellpadding="2" cellspacing="1"> |
17 <tbody> | 17 <tbody> |
18 <tr> | 18 <tr> |
19 <td style="vertical-align: top; text-align: center;"><a id="left" href="a">Left<
/a></td> | 19 <td style="vertical-align: top; text-align: center;"><a id="left" href="a">Left<
/a></td> |
20 <td style="vertical-align: top; text-align: center;"><input id="start" type="dat
e" value="text"></td> | 20 <td style="vertical-align: top; text-align: center;"><input id="start" type="dat
e" value="text"></td> |
(...skipping 24 matching lines...) Expand all Loading... |
45 document.getElementById("start").focus(); | 45 document.getElementById("start").focus(); |
46 | 46 |
47 initTest(resultMap, finishJSTest); | 47 initTest(resultMap, finishJSTest); |
48 } | 48 } |
49 | 49 |
50 window.onload = runTest; | 50 window.onload = runTest; |
51 </script> | 51 </script> |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
54 | 54 |
OLD | NEW |