OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description('<select> selection test for mouse events and keyevents.'); | 10 description('<select> selection test for mouse events and keyevents.'); |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 shouldBe('selectionPattern("sl12")', '"01100"'); | 126 shouldBe('selectionPattern("sl12")', '"01100"'); |
127 | 127 |
128 debug("13) Select a range shift-clicking"); | 128 debug("13) Select a range shift-clicking"); |
129 mouseDownOnSelect("sl13", 3, "rangeSelectionKey"); | 129 mouseDownOnSelect("sl13", 3, "rangeSelectionKey"); |
130 shouldBe('selectionPattern("sl13")', '"11110"'); | 130 shouldBe('selectionPattern("sl13")', '"11110"'); |
131 | 131 |
132 debug("14) Select a range with the keyboard"); | 132 debug("14) Select a range with the keyboard"); |
133 keyDownOnSelect("sl14", "downArrow", "rangeSelectionKey"); | 133 keyDownOnSelect("sl14", "downArrow", "rangeSelectionKey"); |
134 shouldBe('selectionPattern("sl14")', '"01100"'); | 134 shouldBe('selectionPattern("sl14")', '"01100"'); |
135 </script> | 135 </script> |
136 <script src="../../fast/js/resources/js-test-post.js"></script> | |
137 </body> | 136 </body> |
138 </html> | 137 </html> |
OLD | NEW |