OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
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 <script> | 7 <script> |
8 description('Check stepping-up and -down for number input from renderer.'); | 8 description('Check stepping-up and -down for number input from renderer.'); |
9 | 9 |
10 var input = document.createElement('input'); | 10 var input = document.createElement('input'); |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 shouldBe('stepDownExplicitBounds(-100, null, 3, "")', '"-1"'); | 161 shouldBe('stepDownExplicitBounds(-100, null, 3, "")', '"-1"'); |
162 shouldBe('stepUpExplicitBounds(1, 4, 1, 0)', '"1"'); | 162 shouldBe('stepUpExplicitBounds(1, 4, 1, 0)', '"1"'); |
163 shouldBe('stepDownExplicitBounds(1, 4, 1, 0)', '"0"'); | 163 shouldBe('stepDownExplicitBounds(1, 4, 1, 0)', '"0"'); |
164 shouldBe('stepDownExplicitBounds(-4, -1, 1, 0)', '"-1"'); | 164 shouldBe('stepDownExplicitBounds(-4, -1, 1, 0)', '"-1"'); |
165 shouldBe('stepUpExplicitBounds(-4, -1, 1, 0)', '"0"'); | 165 shouldBe('stepUpExplicitBounds(-4, -1, 1, 0)', '"0"'); |
166 shouldBe('stepUpExplicitBounds(-100, null, 3, 3)', '"5"'); | 166 shouldBe('stepUpExplicitBounds(-100, null, 3, 3)', '"5"'); |
167 shouldBe('stepDownExplicitBounds(-100, null, 3, 3)', '"2"'); | 167 shouldBe('stepDownExplicitBounds(-100, null, 3, 3)', '"2"'); |
168 | 168 |
169 debug(''); | 169 debug(''); |
170 </script> | 170 </script> |
171 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
172 </body> | 171 </body> |
173 </html> | 172 </html> |
OLD | NEW |