| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../resources/js-test-pre.js"></script> |
| <input type="range" min="0" max="100" value="25" step="25" id="range1"/> |
| description("This test makes sure that if a range type has a step value, that increment and decrement work."); |
| if (window.accessibilityController) { |
| // ARIA determinate progressbar |
| document.getElementById("range1").focus(); |
| var obj = accessibilityController.focusedElement; |
| shouldBe("obj.intValue", "25"); |
| shouldBe("obj.intValue", "50"); |
| shouldBe("obj.intValue", "75"); |
| shouldBe("obj.intValue", "100"); |
| shouldBe("obj.intValue", "100"); |
| shouldBe("obj.intValue", "75"); |
| shouldBe("obj.intValue", "50"); |
| shouldBe("obj.intValue", "25"); |
| shouldBe("obj.intValue", "0"); |
| shouldBe("obj.intValue", "0"); |
| <script src="../resources/js-test-post.js"></script> |