3 <script src="../js/resources/js-test-pre.js"></script>
4 <script src="resources/spatial-navigation-utils.js"></script>
5 <script type="application/javascript">
17 if (window.layoutTestController) {
18 layoutTestController.dumpAsText();
19 layoutTestController.setSpatialNavigationEnabled(true);
20 layoutTestController.overridePreference("WebKitTabToLinksPreferenceKey", 1);
21 layoutTestController.waitUntilDone();
26 // starting the test itself: get to a known place.
27 document.getElementById("start").focus();
29 initTest(resultMap, testCompleted);
32 function testCompleted()
34 if (window.layoutTestController)
35 layoutTestController.notifyDone();
38 window.onload = runTest;
40 <script src="js/resources/js-test-post.js"></script>
42 div.container1 { width: 100px;}
43 div.container2 { width: 100px;}
46 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml" style="padding:20px">
47 <div class="container1">
48 <a href="#" id="start">AAAAAAAAAA AAAAAAAAAA AA</a>
49 <a href="#" id="e1">AA AAAAAAAAAA AAAAAAAAAA</a>
52 <div class="container2">
53 <a href="#" id="e2">AAAAAAAAAA AAAAAAAAAA AA</a>
55 <a href="#" id="e3">AA AAAAAAAAAA AAAAAAAAAA</a>
61 <div id="console"></div>
62 This test is testing that we can handle 2 inline elements in the same line.