Index: LayoutTests/fast/forms/number/number-stepup-stepdown.html |
diff --git a/LayoutTests/fast/forms/number/number-stepup-stepdown.html b/LayoutTests/fast/forms/number/number-stepup-stepdown.html |
index 0def974eccfe7d018e1d3b4cd82e99d030e146ea..640f932465f2dcdadcca1e9b0c72e404dcb9c0eb 100644 |
--- a/LayoutTests/fast/forms/number/number-stepup-stepdown.html |
+++ b/LayoutTests/fast/forms/number/number-stepup-stepdown.html |
@@ -88,11 +88,11 @@ debug('Overflow/underflow'); |
shouldBe('stepDown("1", "1", "0")', '"0"'); |
shouldBeEqualToString('stepDown("0", "1", "0")', '0'); |
shouldBeEqualToString('stepDown("1", "1", "0", 2)', '0'); |
-shouldBeEqualToString('stepDown("1", "3.40282346e+38", "", 2)', '-3.40282346e+38'); |
+shouldBeEqualToString('stepDown("1", "1.797693134862315e+308", "", 2)', '-1.797693134862315e+308'); |
shouldBeEqualToString('stepUp("-1", "1", "0")', '0'); |
shouldBeEqualToString('stepUp("0", "1", "0")', '0'); |
shouldBeEqualToString('stepUp("-1", "1", "0", 2)', '0'); |
-shouldBeEqualToString('stepUp("1", "3.40282346e+38", "", 2)', '3.40282346e+38'); |
+shouldBeEqualToString('stepUp("1", "1.797693134862315e+308", "", 2)', '1.797693134862315e+308'); |
debug('stepDown()/stepUp() for stepMismatch values'); |
shouldBeEqualToString('stepUpExplicitBounds("0", "", "2", "1"); input.value', '2'); |
shouldBeEqualToString('stepUp("1", "2", "")', '2'); |
@@ -101,8 +101,8 @@ shouldBeEqualToString('input.min = "0"; stepUp("9", "10", "", 9)', '90'); |
shouldBeEqualToString('stepDown("19", "10", "0")', '10'); |
shouldBeEqualToString('stepUp("89", "10", "99")', '90'); |
debug('Huge value and small step'); |
-shouldBe('input.min = ""; stepUp("1e+38", "1", "", 999999)', '"1e+38"'); |
-shouldBe('input.max = ""; stepDown("1e+38", "1", "", 999999)', '"1e+38"'); |
+shouldBe('input.min = ""; stepUp("1e+308", "1", "", 999999)', '"1e+308"'); |
+shouldBe('input.max = ""; stepDown("1e+308", "1", "", 999999)', '"1e+308"'); |
debug('Fractional numbers'); |
shouldBe('input.min = ""; stepUp("0", "0.33333333333333333", "", 3)', '"1"'); |
shouldBe('stepUp("1", "0.1", "", 10)', '"2"'); |