7 The select list box should not display items (options and optgroups) with style
"display: none".
12 <option>Three
</option>
13 <option style=
"display: none">Four
</option>
15 <option id='
56'
style=
"display: none">Six
</option>
16 <option>Seven
</option>
21 <option>Three
</option>
22 <optgroup label=
"***45***">
23 <option style=
"display: none">Four
</option>
26 <option style=
"display: none">Six
</option>
27 <option>Seven
</option>
32 <option id=
"13">Three
</option>
33 <optgroup label=
"***45***">
35 <option id=
"15">Five
</option>
38 <option>Seven
</option>
43 <option>Three
</option>
44 <optgroup id=
"24" label=
"**456**" style=
"display: none">
49 <option>Seven
</option>
54 <option>Three
</option>
55 <optgroup id=
"34" label=
"**456**">
60 <option>Seven
</option>
65 <option>Three
</option>
66 <optgroup id=
"44" label=
"**456**" style=
"display: none">
71 <option>Seven
</option>
75 var elem
= document
.getElementById('13');
76 elem
.style
.display
= 'none';
77 elem
= document
.getElementById('15');
78 elem
.style
.display
= 'none';
79 elem
= document
.getElementById('34');
80 elem
.style
.display
= 'none';
81 elem
= document
.getElementById('44');
82 elem
.style
.display
= 'block';
83 elem
= document
.getElementById('56');
84 elem
.style
.display
= 'block';