blob: 38c266d752394b2d407e00a1de67974c84de57ce [file] [log] [blame]
Changed text for item 1
Item 2
Item 3
Changed text for item 1
Item 2
Item 3
Item 4
Item 5
Fix for bug 70547-- changing the text of an option in a select element with no selected option (-1) should preserve that option
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Running tests on menu list
Setting selected index to -1
Changed text attribute of first item
PASS mySelect.selectedIndex is -1
Changed value attribute of first item
PASS mySelect.selectedIndex is -1
Changed label attribute of first item
PASS mySelect.selectedIndex is -1
Setting selected index to 1
Changed text attribute of first item
PASS mySelect.selectedIndex is 1
Changed value attribute of first item
PASS mySelect.selectedIndex is 1
Changed label attribute of first item
PASS mySelect.selectedIndex is 1
Running tests on list box
Setting selected index to -1
Changed text attribute of first item
PASS mySelect.selectedIndex is -1
Changed value attribute of first item
PASS mySelect.selectedIndex is -1
Changed label attribute of first item
PASS mySelect.selectedIndex is -1
Setting selected index to 1
Changed text attribute of first item
PASS mySelect.selectedIndex is 1
Changed value attribute of first item
PASS mySelect.selectedIndex is 1
Changed label attribute of first item
PASS mySelect.selectedIndex is 1
PASS successfullyParsed is true
TEST COMPLETE