summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/output/output-7.html
blob: 0ec10f3c313350d1ffcf8fad7bc6a074f1668cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: the output element should show its value -->
  <script type="text/javascript">
    function setDefaultValue()
    {
      document.getElementById('o').value = "bar";
    }
    function setValue()
    {
      document.getElementById('o').value = "foo";
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

  <body onload="setDefaultValue(); setValue(); disableReftestWait();">
    <output id="o"></output>
  </body>
</html>