| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../resources/js-test-pre.js"></script> |
| <div tabindex=0 id="slider" role="slider" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">slider</div> |
| description("This tests that its possible to increment and decrement an aria slider and have the value updated correctly."); |
| if (window.accessibilityController) { |
| var slider = document.getElementById("slider"); |
| slider = accessibilityController.focusedElement; |
| shouldBe("slider.intValue", "50"); |
| // As of now, there's no specification designed to update the DOM after an AX call. |
| shouldBe("slider.intValue", "50"); |
| // As of now, there's no specification designed to update the DOM after an AX call. |
| shouldBe("slider.intValue", "50"); |
| <script src="../resources/js-test-post.js"></script> |