| Index: third_party/WebKit/LayoutTests/fast/events/max-tabindex-focus.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/events/max-tabindex-focus.html b/third_party/WebKit/LayoutTests/fast/events/max-tabindex-focus.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..375bbe8577c9226f0d9c1b1d437f367ce6b0a8d6
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/events/max-tabindex-focus.html
|
| @@ -0,0 +1,25 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script>
|
| +var tabTest = async_test("Tests that an element with the maximum tabIndex value can be focused.");
|
| +
|
| +function success()
|
| +{
|
| + tabTest.done();
|
| +}
|
| +
|
| +setTimeout(function () {
|
| + tabTest.step(function () {
|
| + var element = document.getElementById('focusMe')
|
| + element.focus();
|
| +
|
| + document.getElementById("elementWithMaxTabIndex").onfocus = success;
|
| + eventSender.keyDown("\t");
|
| + });
|
| +}, 10);
|
| +</script>
|
| +<body>
|
| +<input id="focusMe" tabindex="1">
|
| +<input id="elementWithMaxTabIndex" tabindex="2147483647">
|
| +</body>
|
|
|