haikuwebkit/LayoutTests/fast/forms/select-replace-option-expec...

8 lines
273 B
Plaintext

This tests replacing an option using JavaScript. If successful, the options should be "Replacement Option 0", "Option 1", and "Option 2", and selected index should be 0.
options[0] is Option 0
options[1] is Replacement Option 1
options[2] is Option 2
selected index is 0