| This test ensures the traversal correctness of spatial navigation: |
| focusable elements accessible, including zero-margin content, should be |
| background:none repeat scroll 0 0 #FFFFFF; |
| font-family:arial,sans-serif; |
| text-decoration:underline; |
| color:#0000CC !important; |
| <script src="../../resources/js-test-pre.js"></script> |
| <script src="resources/spatial-navigation-utils.js"></script> |
| <script type="application/javascript"> |
| testRunner.setSpatialNavigationEnabled(true); |
| testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); |
| testRunner.waitUntilDone(); |
| // starting the test itself: get to a known place. |
| document.getElementById("start").focus(); |
| initTest(resultMap, testCompleted); |
| <script src="../resources/js-test-post.js"></script> |
| <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
| <a href="#" id="start"> test1 </a> |
| <a href="#" id="end"> test2 </a> |