2 <p>Test for
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=13278">bug
13278</a>: REGRESSION: cannot change SELECT option.
</p>
5 <option>FAILURE: script didn't run
</option>
6 <option>FAILURE
</option>
7 <option>SUCCESS
</option>
10 <option>FAILURE: script didn't run
</option>
11 <option>FAILURE
</option>
12 <option>SUCCESS
</option>
18 if (window
.testRunner
)
19 testRunner
.dumpAsText();
21 document
.forms
[0].elements
[0].options
[1].selected
= true;
22 document
.forms
[0].elements
[1].options
[1].selected
= true;
24 document
.forms
[0].elements
[0].options
[2].selected
= true;
25 document
.forms
[0].elements
[1].options
[2].selected
= true;
26 if (document
.forms
[0].elements
[0].value
!= "SUCCESS" || document
.forms
[0].elements
[1].options
[1].selected
)
27 document
.getElementById("result").innerHTML
= "FAILURE";
29 document
.getElementById("result").innerHTML
= "SUCCESS";