Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt

Issue 172223003: Input type Number maximum value increase (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reverted back StepRange changes Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
diff --git a/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt b/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
index 2948a7dd7b54925b29a71ccb7ca486bcec23fcbd..589456012166ce7be6d22ab4d3e71965b7b8d076 100644
--- a/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
+++ b/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
@@ -38,11 +38,11 @@ Overflow/underflow
PASS stepDown("1", "1", "0") is "0"
PASS stepDown("0", "1", "0") is "0"
PASS stepDown("1", "1", "0", 2) is "0"
-PASS stepDown("1", "3.40282346e+38", "", 2) is "-3.40282346e+38"
+PASS stepDown("1", "1.797693134862315e+308", "", 2) is "-1.797693134862315e+308"
PASS stepUp("-1", "1", "0") is "0"
PASS stepUp("0", "1", "0") is "0"
PASS stepUp("-1", "1", "0", 2) is "0"
-PASS stepUp("1", "3.40282346e+38", "", 2) is "3.40282346e+38"
+PASS stepUp("1", "1.797693134862315e+308", "", 2) is "1.797693134862315e+308"
stepDown()/stepUp() for stepMismatch values
PASS stepUpExplicitBounds("0", "", "2", "1"); input.value is "2"
PASS stepUp("1", "2", "") is "2"
@@ -51,8 +51,8 @@ PASS input.min = "0"; stepUp("9", "10", "", 9) is "90"
PASS stepDown("19", "10", "0") is "10"
PASS stepUp("89", "10", "99") is "90"
Huge value and small step
-PASS input.min = ""; stepUp("1e+38", "1", "", 999999) is "1e+38"
-PASS input.max = ""; stepDown("1e+38", "1", "", 999999) is "1e+38"
+PASS input.min = ""; stepUp("1e+308", "1", "", 999999) is "1e+308"
+PASS input.max = ""; stepDown("1e+308", "1", "", 999999) is "1e+308"
Fractional numbers
PASS input.min = ""; stepUp("0", "0.33333333333333333", "", 3) is "1"
PASS stepUp("1", "0.1", "", 10) is "2"

Powered by Google App Engine
This is Rietveld 408576698