| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 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 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 description('Check stepping-up and -down for month input fields from renderer.')
; | 9 description('Check stepping-up and -down for month input fields from renderer.')
; |
| 10 if (!window.eventSender) | 10 if (!window.eventSender) |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 shouldBeEqualToString('stepUp("2000-01", null, "2000-12")', '0001-01'); | 57 shouldBeEqualToString('stepUp("2000-01", null, "2000-12")', '0001-01'); |
| 58 shouldBeEqualToString('stepDown("0001-01", null, "2000-12")', '2000-01'); | 58 shouldBeEqualToString('stepDown("0001-01", null, "2000-12")', '2000-01'); |
| 59 shouldBeEqualToString('stepUp("1990-01", "2000-01", "2009-12")', '2000-01'); | 59 shouldBeEqualToString('stepUp("1990-01", "2000-01", "2009-12")', '2000-01'); |
| 60 shouldBeEqualToString('stepDown("1990-01", "2000-01", "2009-12")', '2009-01'); | 60 shouldBeEqualToString('stepDown("1990-01", "2000-01", "2009-12")', '2009-01'); |
| 61 shouldBeEqualToString('stepUp("2020-01", "2000-01", "2000-12")', '2000-01'); | 61 shouldBeEqualToString('stepUp("2020-01", "2000-01", "2000-12")', '2000-01'); |
| 62 shouldBeEqualToString('stepDown("2020-01", "2000-01", "2000-12")', '2000-01'); | 62 shouldBeEqualToString('stepDown("2020-01", "2000-01", "2000-12")', '2000-01'); |
| 63 | 63 |
| 64 debug(''); | 64 debug(''); |
| 65 input.remove(); | 65 input.remove(); |
| 66 </script> | 66 </script> |
| 67 <script src="../../js/resources/js-test-post.js"></script> | |
| 68 </body> | 67 </body> |
| 69 </html> | 68 </html> |
| OLD | NEW |