| Index: LayoutTests/fast/events/tabindex-no-focusable-all-negative.html
|
| diff --git a/LayoutTests/fast/events/tabindex-no-focusable-all-negative.html b/LayoutTests/fast/events/tabindex-no-focusable-all-negative.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f3ab09b8b94ef7979cb032c36c2dcd8e04f2a0a8
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/events/tabindex-no-focusable-all-negative.html
|
| @@ -0,0 +1,25 @@
|
| +<script src="../../resources/js-test.js"></script>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +function test()
|
| +{
|
| + if (!window.testRunner)
|
| + return;
|
| + var elem_focusme = document.getElementById('focusMe');
|
| + elem_focusme.focus();
|
| +
|
| + eventSender.keyDown("\t");
|
| + shouldBeEqualToString('document.activeElement.id', 'focusMe');
|
| + elem_focusme.focus();
|
| + eventSender.keyDown("\t", ["shiftKey"]);
|
| + shouldBeEqualToString('document.activeElement.id', 'focusMe');
|
| +}
|
| +</script>
|
| +<body onload="test()">
|
| +<input tabindex="-1">
|
| +<input id="focusMe" tabindex="-1">
|
| +<input tabindex="-1">
|
| +</body>
|
| +
|
|
|