| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <script src="../../resources/js-test.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
| 6 <title></title> | 6 <title></title> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <p>Select multiple options with mouse drag with no. of options less than the siz
e attribute</p> | 9 <p>Select multiple options with mouse drag with no. of options less than the siz
e attribute</p> |
| 10 <p>Also test mouse drag on select element without multiple attribute select only
the option under mouse</p> | 10 <p>Also test mouse drag on select element without multiple attribute select only
the option under mouse</p> |
| 11 | 11 |
| 12 <select multiple="multiple" size="7" id="selectId"> | 12 <select multiple="multiple" size="7" id="selectId"> |
| 13 <option value="P1">P1</option> | 13 <option value="P1">P1</option> |
| 14 <option value="P2">P2</option> | 14 <option value="P2">P2</option> |
| 15 <option value="P3">P3</option> | 15 <option value="P3">P3</option> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 function testOptionSelection(start, end, criteria, element) { | 117 function testOptionSelection(start, end, criteria, element) { |
| 118 for (var i = start; i < end; i++) { | 118 for (var i = start; i < end; i++) { |
| 119 shouldBe("document.getElementById(\"" + element + "\").options[" + i + "
].selected", criteria); | 119 shouldBe("document.getElementById(\"" + element + "\").options[" + i + "
].selected", criteria); |
| 120 } | 120 } |
| 121 } | 121 } |
| 122 | 122 |
| 123 successfullyParsed = true; | 123 successfullyParsed = true; |
| 124 </script> | 124 </script> |
| 125 </body> | 125 </body> |
| 126 </html> | 126 </html> |
| OLD | NEW |