summaryrefslogtreecommitdiffstats
path: root/dom/tests/reftest/optiontext.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/reftest/optiontext.html')
-rw-r--r--dom/tests/reftest/optiontext.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/tests/reftest/optiontext.html b/dom/tests/reftest/optiontext.html
new file mode 100644
index 000000000..5297e6caa
--- /dev/null
+++ b/dom/tests/reftest/optiontext.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<body onload="document.forms.f.s.options[0].text = 'ok';">
+<form name="f">
+<select name="s">
+<option name="o1">-</option>
+</select>
+</form>
+</body>