summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/output/output-5.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/output/output-5.html')
-rw-r--r--layout/reftests/forms/output/output-5.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/forms/output/output-5.html b/layout/reftests/forms/output/output-5.html
new file mode 100644
index 000000000..16bcf357a
--- /dev/null
+++ b/layout/reftests/forms/output/output-5.html
@@ -0,0 +1,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>