summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/range/from-range-to-other-type-unthemed-1.html
blob: 0e1fffaf147838f0fffb295f494816cc7c4b55b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: when switching to another type, the input element should look
             like that type (not like an input range element) -->
  <script type="text/javascript">
    function setToCheckbox()
    {
      document.getElementById('i').type='checkbox';
      document.documentElement.className = '';
    }
    document.addEventListener("MozReftestInvalidate", setToCheckbox);
  </script>
  <body>
    <input type='range' id='i' style="-moz-appearance:none;">
  </body>
</html>