| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body onload="test()"> | 3 <body onload="test()"> |
| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 debug("\nMenu list with arrow key"); | 71 debug("\nMenu list with arrow key"); |
| 72 $("menulist").selectedIndex = 3; | 72 $("menulist").selectedIndex = 3; |
| 73 $("menulist").focus(); | 73 $("menulist").focus(); |
| 74 eventSender.keyDown("downArrow"); | 74 eventSender.keyDown("downArrow"); |
| 75 eventSender.keyDown("\n"); | 75 eventSender.keyDown("\n"); |
| 76 shouldBe('$("menulist").selectedIndex', '8'); | 76 shouldBe('$("menulist").selectedIndex', '8'); |
| 77 | 77 |
| 78 finishJSTest(); | 78 finishJSTest(); |
| 79 } | 79 } |
| 80 </script> | 80 </script> |
| 81 <script src="../../js/resources/js-test-post.js"></script> | |
| 82 </body> | 81 </body> |
| 83 </html> | 82 </html> |
| OLD | NEW |