3 <script src=
"../../resources/js-test.js"></script>
4 <script src=
"resources/spatial-navigation-utils.js"></script>
11 border:
1px solid black;
36 <body id=
"some-content" onload=
"runTest()">
37 <p id=
"description"></p>
39 <a id=
"e1" href=
"#e1">E1
</a>
40 <a id=
"e2" href=
"#e2">E2
</a>
41 <a id=
"e3" href=
"#e3">E3
</a>
42 <a id=
"e4" href=
"#e4">E4
</a>
43 <a id=
"e5" href=
"#e5">E5
</a>
45 <div id=
"console"></div>
46 <script type=
"application/javascript">
47 description('This test ensures that Spatial Navigation works with symmetrically positoned rects');
62 if (window.testRunner) {
63 testRunner.overridePreference(
"WebKitTabToLinksPreferenceKey",
1);
64 window.internals.settings.setSpatialNavigationEnabled(true);
69 // starting the test itself: get to a known place.
70 document.getElementById(
"e1").focus();
72 initTest(resultMap, finishJSTest);