summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/text/select-ref.html
blob: added237cf4f00b556b1917d7b10d3274d76b85b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html class="reftest-wait">
  <head>
    <script type="text/javascript">
      function finishTest() {
        document.documentElement.removeAttribute("class");
      }
      function runTest() {
        var field = document.getElementById('field');
        field.focus();
        field.select();
        setTimeout(finishTest, 0);
       }
    </script>
  </head>
  <body onload="runTest()">
    <input id="field" type="text" value="1234">
  </body>
</html>