layout/reftests/forms/input/range/stepDown.html
author Ryan VanderMeulen <ryanvm@gmail.com>
Wed, 09 Apr 2014 22:14:13 -0400
changeset 196342 279e3bc8979dfd32dd6f3eab83502d4a96f332e0
parent 196321 c817078789778d716d7ca363a4e3c1c6df170b68
child 196912 263f232855ad658b96452cb431db499ac2505fcb
permissions -rw-r--r--
Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE.

<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: when changing the 'value' IDL property, the thumb of the range
             should be moved to the appropriate position -->
  <script type="text/javascript">
    function setValue()
    {
      document.getElementById('i').stepDown();
      document.documentElement.className = '';
    }
    document.addEventListener("MozReftestInvalidate", setValue);
    setTimeout(setValue, 2000); // useful when not running under reftest suite
  </script>
  <body>
    <input type=range id='i' value=100 step=25>
  </body>
</html>