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

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