mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Tests for bug 453105 (r+sr=bzbarsky)
This commit is contained in:
parent
94aca7e3c4
commit
a982b5af50
7
content/test/reftest/bug453105-ref.html
Normal file
7
content/test/reftest/bug453105-ref.html
Normal file
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<body>
|
||||
<form name="f">
|
||||
<select name="s">
|
||||
</select>
|
||||
</form>
|
||||
</body>
|
9
content/test/reftest/bug453105.html
Normal file
9
content/test/reftest/bug453105.html
Normal 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>
|
8
content/test/reftest/optiontext-ref.html
Normal file
8
content/test/reftest/optiontext-ref.html
Normal file
@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<body>
|
||||
<form name="f">
|
||||
<select name="s">
|
||||
<option name="o1">ok</option>
|
||||
</select>
|
||||
</form>
|
||||
</body>
|
8
content/test/reftest/optiontext.html
Normal file
8
content/test/reftest/optiontext.html
Normal 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>
|
2
content/test/reftest/reftest.list
Normal file
2
content/test/reftest/reftest.list
Normal file
@ -0,0 +1,2 @@
|
||||
== bug453105.html bug453105-ref.html
|
||||
== optiontext.html optiontext-ref.html
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user