OLD | NEW |
1 <html > | 1 <html > |
2 <body> | 2 <body> |
3 <p>This tests that we can find the selected value of a dropdown when this format
is used: [select_name][this.selectedIndex].value. | 3 <p>This tests that we can find the selected value of a dropdown when this format
is used: [select_name][this.selectedIndex].value. |
4 See bug 798404. </p> | 4 See bug 798404. </p> |
5 | 5 |
6 <script> | 6 <script> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 | 9 |
10 function test(selected_value) { | 10 function test(selected_value) { |
(...skipping 19 matching lines...) Expand all Loading... |
30 var evt = document.createEvent("HTMLEvents"); | 30 var evt = document.createEvent("HTMLEvents"); |
31 evt.initEvent("change", true, true); | 31 evt.initEvent("change", true, true); |
32 x.dispatchEvent(evt); | 32 x.dispatchEvent(evt); |
33 </script> | 33 </script> |
34 | 34 |
35 </form> | 35 </form> |
36 | 36 |
37 | 37 |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |