Tests for bug 453105 (r+sr=bzbarsky)

This commit is contained in:
Jason Orendorff 2008-09-03 15:29:21 -05:00
parent 94aca7e3c4
commit a982b5af50
6 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<!DOCTYPE html>
<body>
<form name="f">
<select name="s">
</select>
</form>
</body>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<body onload="document.forms.f.s.options.length = 0;">
<form name="f">
<select name="s">
<option name="o1">option 1</option>
<option name="o2">option 2</option>
</select>
</form>
</body>

View File

@ -0,0 +1,8 @@
<!DOCTYPE html>
<body>
<form name="f">
<select name="s">
<option name="o1">ok</option>
</select>
</form>
</body>

View File

@ -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>

View File

@ -0,0 +1,2 @@
== bug453105.html bug453105-ref.html
== optiontext.html optiontext-ref.html

View File

@ -32,6 +32,9 @@ include canvas/reftest.list
# columns/
include columns/reftest.list
# content/
include ../../content/test/reftest/reftest.list
# counters/
include counters/reftest.list