3 <script src=
"../../resources/js-test.js"></script>
4 <script src=
"resources/spatial-navigation-utils.js"></script>
5 <script type=
"application/javascript">
17 if (window.testRunner) {
18 testRunner.dumpAsText();
19 testRunner.overridePreference(
"WebKitTabToLinksPreferenceKey",
1);
20 window.internals.settings.setSpatialNavigationEnabled(true);
21 testRunner.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.testRunner)
35 testRunner.notifyDone();
38 window.onload = runTest;
41 div.container1 { width:
100px;}
42 div.container2 { width:
100px;}
45 <body id=
"some-content" xmlns=
"http://www.w3.org/1999/xhtml" style=
"padding:20px">
46 <div class=
"container1">
47 <a href=
"#" id=
"start">AAAAAAAAAA AAAAAAAAAA AA
</a>
48 <a href=
"#" id=
"e1">AA AAAAAAAAAA AAAAAAAAAA
</a>
51 <div class=
"container2">
52 <a href=
"#" id=
"e2">AAAAAAAAAA AAAAAAAAAA AA
</a>
54 <a href=
"#" id=
"e3">AA AAAAAAAAAA AAAAAAAAAA
</a>
60 <div id=
"console"></div>
61 This test is testing that we can handle
2 inline elements in the same line.