stepDown-unthemed.html 526 B

1234567891011121314151617
  1. <!DOCTYPE html>
  2. <html class="reftest-wait">
  3. <!-- Test: when changing the 'value' IDL property, the thumb of the range
  4. should be moved to the appropriate position -->
  5. <script type="text/javascript">
  6. function setValue()
  7. {
  8. document.getElementById('i').stepDown();
  9. document.documentElement.className = '';
  10. }
  11. document.addEventListener("MozReftestInvalidate", setValue);
  12. </script>
  13. <body>
  14. <input type=range id='i' value=100 step=25 style='-moz-appearance:none'>
  15. </body>
  16. </html>