summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/output/output-5.html
blob: 16bcf357a676ed05719661977b312f6cd4221a30 (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 default value -->
  <script type="text/javascript">
    function setDefaultValue()
    {
      document.getElementById('o').defaultValue = "foo";
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

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