Index: LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html |
diff --git a/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html b/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html |
index 006be4e23f7602ba054b9a3f835eb9f632144d41..c5023a3f856f0848f33b1df598a105286cc59bbf 100644 |
--- a/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html |
+++ b/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html |
@@ -121,11 +121,11 @@ debug('Overflow/underflow'); |
shouldBe('stepDown("1", "1", "0")', '"0"'); |
shouldBe('stepDown("0", "1", "0")', '"0"'); |
shouldBe('stepDown("1", "1", "0", 2)', '"0"'); |
-shouldBe('stepDown("1", "3.40282346e+38", "", 2)', '"-3.40282346e+38"'); |
+shouldBe('stepDown("1", "1.797693134862315e+308", "", 2)', '"-1.797693134862315e+308"'); |
shouldBe('stepUp("-1", "1", "0")', '"0"'); |
shouldBe('stepUp("0", "1", "0")', '"0"'); |
shouldBe('stepUp("-1", "1", "0", 2)', '"0"'); |
-shouldBe('stepUp("1", "3.40282346e+38", "", 2)', '"3.40282346e+38"'); |
+shouldBe('stepUp("1", "1.797693134862315e+308", "", 2)', '"1.797693134862315e+308"'); |
debug('stepDown()/stepUp() for stepMismatch values'); |
shouldBe('stepUp("1", "2", "")', '"2"'); |
shouldBe('input.min = "0"; stepUp("9", "10", "")', '"10"'); |
@@ -136,8 +136,8 @@ 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"'); |
+shouldBe('input.min = ""; stepUp("1e+308", "1", "", 999)', '"1e+308"'); |
+shouldBe('input.max = ""; stepDown("1e+308", "1", "", 999)', '"1e+308"'); |
debug('Fractional numbers'); |
shouldBe('input.min = ""; stepUp("0", "0.33333333333333333", "", 3)', '"1"'); |
shouldBe('stepUp("1", "0.1", "", 10)', '"2"'); |