1 <script src=
"../../resources/js-test.js"></script>
4 testRunner
.dumpAsText();
8 if (!window
.testRunner
)
10 var elem_movetome
= document
.getElementById('MoveToMe');
11 var elem_focusme
= document
.getElementById('focusMe');
14 eventSender
.keyDown("\t");
15 shouldBeEqualToString('document.activeElement.id', 'MoveToMe');
17 eventSender
.keyDown("\t", ["shiftKey"]);
18 shouldBeEqualToString('document.activeElement.id', 'MoveToMe');
21 <body onload=
"test()">
22 <input id=
"MoveToMe" tabindex=
"1">
24 <input id=
"focusMe" tabindex=
"-1">