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

Unified Diff: LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer-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-from-renderer-expected.txt
diff --git a/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer-expected.txt b/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer-expected.txt
index 28f0c9af49da3c0300cd445c75845e7c88a1003e..8daecc2d28bfe00c713115d614bbf20709ae106b 100644
--- a/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer-expected.txt
+++ b/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer-expected.txt
@@ -39,11 +39,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 stepUp("1", "2", "") is "2"
PASS input.min = "0"; stepUp("9", "10", "") is "10"
@@ -54,8 +54,8 @@ PASS stepUp("-7", "300", "") is "0"
PASS stepDown("7", "300", "") is "0"
PASS stepDown("-7", "300", "") is "-300"
Huge value and small step
-PASS input.min = ""; stepUp("1e+38", "1", "", 999) is "1e+38"
-PASS input.max = ""; stepDown("1e+38", "1", "", 999) is "1e+38"
+PASS input.min = ""; stepUp("1e+308", "1", "", 999) is "1e+308"
+PASS input.max = ""; stepDown("1e+308", "1", "", 999) 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