3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/spatial-navigation-utils.js"></script>
11 border: 1px solid black;
38 <body id="some-content" onload="runTest()">
39 <p id="description"></p>
42 <a id="e1" href="#e1">Element 1</a>
43 <a id="e2" href="#e2">Element 2</a>
44 <a id="e3" href="#e3">Element 3</a>
46 <a id="e4" href="#e1">Element 4</a>
47 <a id="e5" href="#e2">Element 5</a>
48 <a id="e6" href="#e3">Element 6</a>
50 <div id="console"></div>
51 <script type="application/javascript">
52 description('This test ensures that Spatial Navigation works with overlapping elements');
73 if (window.testRunner) {
74 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
75 window.internals.settings.setSpatialNavigationEnabled(true);
80 // starting the test itself: get to a known place.
81 document.getElementById("e1").focus();
83 initTest(resultMap, finishJSTest);