Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / option-selecting-expected.txt
blob403abff4d6a98925d9ffc79abf21c8104937efd1
1 Test the behavior of selecting and deselecting options in <select> elements.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 ListBox with no size attribute specified.
7 PASS menuListBoxNoSize.selectedIndex is 1
8 PASS menuListBoxNoSize.options[1].selected is true
9 Setting menuListBoxNoSize.options[2].selected = true
10 Setting menuListBoxNoSize.options[2].selected = false
11 PASS menuListBoxNoSize.selectedIndex is 1
12 PASS menuListBoxNoSize.options[1].selected is true
14 ListBox with size=1 attribute.
15 PASS menuListBoxSize1.selectedIndex is 1
16 PASS menuListBoxSize1.options[1].selected is true
17 Setting menuListBoxSize1.options[2].selected = true
18 Setting menuListBoxSize1.options[2].selected = false
19 PASS menuListBoxSize1.selectedIndex is 1
20 PASS menuListBoxSize1.options[1].selected is true
22 ListBox with size=3 attribute.
23 PASS menuListBoxSize3.selectedIndex is -1
24 Setting menuListBoxSize3.options[1].selected = true
25 Setting menuListBoxSize3.options[1].selected = false
26 PASS menuListBoxSize3.selectedIndex is -1
27 PASS menuListBoxSize3.options[0].selected is false
28 PASS menuListBoxSize3.options[1].selected is false
29 Setting menuListBoxSize3.selectedIndex = 1
30 PASS menuListBoxSize3.selectedIndex is 1
31 PASS menuListBoxSize3.options[1].selected is true
32 Setting menuListBoxSize3.selectedIndex = -1
33 PASS menuListBoxSize3.selectedIndex is -1
34 PASS menuListBoxSize3.options[0].selected is false
35 PASS menuListBoxSize3.options[1].selected is false
37 ListBox with multiple attribute.
38 PASS multipleListBox.selectedIndex is -1
39 Setting multipleListBox.options[1].selected = true
40 Setting multipleListBox.options[1].selected = false
41 PASS multipleListBox.selectedIndex is -1
42 PASS multipleListBox.options[0].selected is false
43 PASS multipleListBox.options[1].selected is false
44 Setting multipleListBox.options[1].selected = true
45 Setting multipleListBox.options[2].selected = true
46 PASS multipleListBox.options[1].selected is true
47 PASS multipleListBox.options[2].selected is true
48 Unselecting selected first option:
49 PASS multipleListBox2.options[0].selected is true
50 PASS multipleListBox2.options[0].selected = false; multipleListBox2.options[0].selected is false
51 PASS successfullyParsed is true
53 TEST COMPLETE