Index: LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html |
=================================================================== |
--- LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html (revision 122851) |
+++ LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html (working copy) |
@@ -131,6 +131,10 @@ |
shouldBe('input.min = "0"; stepUp("9", "10", "")', '"10"'); |
shouldBe('stepDown("19", "10", "0")', '"10"'); |
shouldBe('stepUp("89", "10", "99")', '"90"'); |
+shouldBe('stepUp("7", "300", "")', '"300"'); |
+shouldBe('stepUp("-7", "300", "")', '"0"'); |
+shouldBe('stepDown("7", "300", "")', '"0"'); |
+shouldBe('stepDown("-7", "300", "")', '"-300"'); |
debug('Huge value and small step'); |
shouldBe('input.min = ""; stepUp("1e+38", "1", "", 999)', '"1e+38"'); |
shouldBe('input.max = ""; stepDown("1e+38", "1", "", 999)', '"1e+38"'); |