Index: LayoutTests/fast/events/tabindex-no-focusable.html |
diff --git a/LayoutTests/fast/events/tabindex-focus-chain.html b/LayoutTests/fast/events/tabindex-no-focusable.html |
similarity index 89% |
copy from LayoutTests/fast/events/tabindex-focus-chain.html |
copy to LayoutTests/fast/events/tabindex-no-focusable.html |
index 0432e8099244277f311ee2dca28d8bcb2f2d44ac..05a241dd3b3ac9a600e77439383c8c54cf892ebd 100644 |
--- a/LayoutTests/fast/events/tabindex-focus-chain.html |
+++ b/LayoutTests/fast/events/tabindex-no-focusable.html |
@@ -9,12 +9,10 @@ function test() |
return; |
var elem = document.getElementById('focusMe') |
- key = -1; |
elem.focus(); |
eventSender.keyDown("\t"); |
if (!key) { // first test passed, continue with second test |
- key = 1; |
elem.focus(); |
eventSender.keyDown("\t",["shiftKey"]); |
@@ -29,8 +27,10 @@ function test() |
} |
</script> |
<body onload="test()"> |
-<input onfocus="key-=1"> |
+<input onfocus="key-=1" tabindex="-1"> |
<input id="focusMe" tabindex="-1"> |
-<input onfocus="key+=1"> |
+<input onfocus="key+=1" tabindex="-1"> |
<div id="results"></div> |
</body> |
+ |
+ |