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

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

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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"');
« no previous file with comments | « no previous file | LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698