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

Unified Diff: LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/number-expected.txt

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/imported/web-platform-tests/html/semantics/forms/the-input-element/number-expected.txt
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/number-expected.txt b/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/number-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9421b6c9fd592713ea010e0a267461e791fe3aef
--- /dev/null
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/number-expected.txt
@@ -0,0 +1,32 @@
+This is a testharness.js-based test.
+PASS empty value
+PASS value = 11
+PASS value = 11.12
+PASS value = -11111
+PASS value = -11111.123
+PASS value = 1e2
+PASS value = 1E2
+PASS value = 1e+2
+PASS value = 1e-2
+PASS value is not a valid floating-point number: 1d+2
+PASS value not a valid floating-point number: random string
+PASS Value >= min attribute
+PASS Value < min attribute
+PASS Value <= max attribute
+PASS Value > max attribute
+PASS value with a leading '.'
+FAIL value ending with '.' assert_equals: expected "" but got "1."
+PASS value = -0
+PASS value = Infinity
+PASS value = -Infinity
+PASS value = NaN
+FAIL value = 2^53+1 assert_equals: expected "9007199254740992" but got "9007199254740993"
+PASS value >= Number.MAX_VALUE
+PASS value = 1e
+FAIL value = +1 assert_equals: expected "1" but got ""
+PASS value = '+'
+PASS value = '-'
+FAIL value with a leading whitespace assert_equals: expected "1" but got ""
+FAIL value = 1trailing junk assert_equals: expected "1" but got ""
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698