blob: 713de7c93801b17a77bd7f5e8cd00fec47c8e4e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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
|