1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
8 <input type="range" min="0" max="100" value="25" step="25" id="range1"/>
10 <p id="description"></p>
11 <div id="console"></div>
15 description("This test makes sure that if a range type has a step value, that increment and decrement work.");
17 if (window.accessibilityController) {
19 // ARIA determinate progressbar
20 document.getElementById("range1").focus();
21 var obj = accessibilityController.focusedElement;
23 shouldBe("obj.intValue", "25");
26 shouldBe("obj.intValue", "50");
29 shouldBe("obj.intValue", "75");
32 shouldBe("obj.intValue", "100");
35 shouldBe("obj.intValue", "100");
38 shouldBe("obj.intValue", "75");
41 shouldBe("obj.intValue", "50");
44 shouldBe("obj.intValue", "25");
47 shouldBe("obj.intValue", "0");
50 shouldBe("obj.intValue", "0");
55 <script src="../../../fast/js/resources/js-test-post.js"></script>