OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 <script src="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
6 | 6 |
7 <form id="form"> | 7 <form id="form"> |
8 <select size="10" id="listbox"> | 8 <select size="10" id="listbox"> |
9 <optgroup label="Enabled" id="listbox_optgroup_enabled"> | 9 <optgroup label="Enabled" id="listbox_optgroup_enabled"> |
10 <option value="listbox_e1" id="listbox_option_enabled">One</option> | 10 <option value="listbox_e1" id="listbox_option_enabled">One</option> |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 $("menulist_option_enabled").selected = true; | 129 $("menulist_option_enabled").selected = true; |
130 shouldBe('$("menulist").selectedIndex', '0'); | 130 shouldBe('$("menulist").selectedIndex', '0'); |
131 | 131 |
132 $("menulist_option_disabled").selected = true; | 132 $("menulist_option_disabled").selected = true; |
133 shouldBe('$("menulist").selectedIndex', '4'); | 133 shouldBe('$("menulist").selectedIndex', '4'); |
134 | 134 |
135 </script> | 135 </script> |
136 <script src="../../js/resources/js-test-post.js"></script> | 136 <script src="../../js/resources/js-test-post.js"></script> |
137 </body> | 137 </body> |
138 </html> | 138 </html> |
OLD | NEW |